1
pip install tqdm
1234
import timefrom tqdm import tqdmmylist = [1,2,3,4,5,6,7,8]for i in tqdm(mylist): time.sleep(1)