1. from tqdm import trange, tqdm
    2. for i in tqdm(range(1000), desc="xxx"):
    3. do something
    4. pass