tqdm ่ฟไนๆ็้ข็ๅบ๏ผ็ซ็ถๆฒกๆฒกๆไป็ป๏ผ
็จ่ตทๆฅ้ๅธธ็็ฎๅ๏ผไน้ๅธธ็ๅฅฝ็จใ
ไธไธชๅบๆฌ็ๅฎไพ
# coding=utf-8
import time
from tqdm import trange, tqdm
for i in trange(10):
time.sleep(0.1)
for i in tqdm(range(100)):
time.sleep(0.1)
ไธไธชๅธธ่ง็็คบไพ
# coding=utf-8
import time
import random
from tqdm import tqdm
count = 0
total = 1024
progress = tqdm(total=total, unit='B',unit_scale=True, desc='filename')
while count < total:
time.sleep(1)
step = random.randrange(100)
count += step
progress.update(step)
progress.close()
ไนๅพๆๆๆ
>>> import alive_progress
>>> alive_progress.showtime()
Welcome to alive-progress, enjoy! (ctrl+c to stop :)
=================================
showing: preconfigured spinners, with their unknown bar renditions
--> remember you can create your own!
fps: 15.03 (goal: 15.0)
fps: 15.03 (goal: 15.0) classic |----------------------------------------|
||| classic ||||||||||||||||||||||||||||||||||||||||||
| * | stars | ********** |
|โ| arrow |โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ|
|โโโ| arrows |โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ|
|โ| vertical |โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ|
|โโ
โ| waves |โโ
โโโโ
โโโ
โโโโ
โโโ
โโโโ
โโโ
โโโโ
โโโ
โโโโ
โโโ
โโโ|
|โโโ
| waves2 |โโโ
โโโโ
โโโโโโโโโโ
โโโโ
โโโโโโโโโโ
โโโโ
โโโโโ|
|โโโ| waves3 |โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ|
|โ| horizontal |โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ|
|โ | dots |โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ |
|โฃป| dots_reverse |โฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃปโฃป|
|โ โ โ โ โ | dots_waves |โ โ โ โ โ โ โขโกโ โ โ โ โ โ โขโกโ โ โ โ โ โ โขโกโ โ โ โ โ โ โขโกโ โ โ โ โ โ โขโก|
|โ โ โ โขโ | dots_waves2 |โ โ โ โขโ โ โ โขโ โ โ โขโ โ โ โขโ โ โ โขโ โ โ โขโ โ โ โขโ โ โ โขโ โ โ โขโ โ โ โข|
|โโโ| ball_scrolling |โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ|
|โโโ| balls_scrolling |โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ|
| โ | ball_bouncing | โ |
| โ | balls_bouncing | โโโโโ |
|.. | dots_recur | ..................................|
| =| bar_recur | ============================== |
| โบโบ | pointer | โบโบโบโบโบโบโบโบโบโบโบโบโบโบโบโบ |
| โโโ | arrows_recur | โโโโโโโโโโโโโโ|
| โโ | triangles | โโโโโโโโโโโโโ |
| โทโทโท โโโ | triangles2 | โทโทโท โโโ โถโถโถ โโโ โทโทโท โโโ โถโถโถ|
| <<< | brackets | <<<<<<<<<<<<<<< |
| โโโโโ | balls_filling | โโโโโโโโโโโโโโโโโโโโ |
| โซโซโซโซ | notes | โซโซโซโซโซโซโซโซโซโซโซโซโซโซโซโซ |
| โฌโฌโฌโฌ | notes2 | โซโซโซโซโซโซโซโซโซโซโซโซโซโซโซโซ |
| โฉโฉโฉโฉ| notes_scrolling | โชโชโชโชโชโชโชโชโชโชโชโชโชโชโชโช |
| >>>><<<< | arrows_incoming | .... |
|<<<< >>>>| arrows_outgoing |.. ..|
| >>------> | real_arrow | >>------> |
| ><(((('> | fish | ><(((('> |
|.ยธ><(((ยบ> | fish2 |ยทยดยฏ`ยท.ยทยดยฏ`ยท.ยธยธ.ยทยดยฏ`ยท.ยธ><(((ยบ> |
| ><(((('> | fish_bouncing | ><(((('> |
| <| fishes | <>< |
|ait... | message_scrolling |please wait... |
| please | message_bouncing | wait |
|longer than ant| long_message |his is taking longer than anticipated, h|
|โโโโโโ\/โขโโโโโ| pulse |โโโโโโ\/โขโโโโโโโโโโโ\/โขโโโโโโโโโโโ\/โขโโโ|
^C>>>
>>> alive_progress.show_bars()
Welcome to alive-progress, enjoy! (ctrl+c to stop :)
=================================
showing: preconfigured bars
--> remember you can create your own!
fps: 15.03 (goal: 15.0)
classic [===================================> ]
classic2 [################........................]
smooth |โโโโโโโโ |
blocks |โโโโ |
bubbles <โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ >
circles <โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ>
hollow <โโโท >
squares <โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โโโโโโโโโโโโโโโโโโโโโโ>
solid <โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โบ >
checks |โโ |
filling |โโโโโโโโโโโโโโโโโโโโโโโโ
|
^C>>>