Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from alive_progress import alive_bar, config_handler, bouncing_spinner_factory
- import time
- # config_handler.set_global(length=40)#, spinner='fish_bouncing')
- # custom_spinner = bouncing_spinner_factory('╰(*°▽°*)╯', length=40, hiding=True)
- items = range(100000) # retrieve your set of items
- with alive_bar(len(items), bar='classic', calibrate=2000) as bar:
- for item in items:
- time.sleep(.001)
- # process each item
- bar()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement