Skip to content

Instantly share code, notes, and snippets.

@kamatari
Created January 17, 2017 05:11
Show Gist options
  • Save kamatari/487ef4e13b3dca636fa5ab3f0f3a5e66 to your computer and use it in GitHub Desktop.
Save kamatari/487ef4e13b3dca636fa5ab3f0f3a5e66 to your computer and use it in GitHub Desktop.
import time
from tqdm import tqdm
items = [1,2,3,4,5,6,7,8,9,10]
def process(item):
time.sleep(1)
for item in tqdm(items):
process(item)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment