from tqdm import tqdm if __name__ == '__main__': file_name = './fun_count.jsonl' fil = open(file_name, mode='r') for item in tqdm(fil):