Skip to content

Instantly share code, notes, and snippets.

@Kei-jan
Created June 14, 2023 07:23
Show Gist options
  • Save Kei-jan/c192580bf4998065b3e797b72f5bba04 to your computer and use it in GitHub Desktop.
Save Kei-jan/c192580bf4998065b3e797b72f5bba04 to your computer and use it in GitHub Desktop.
Plugin test
from tqdm import tqdm
import time
for i in tqdm(range(100)):
for j in tqdm(range(100)):
tqdm.write(f'epoch{j}\nwithin{i}')
#tqdm.external_write_mode(print("Epoch: {}",i))
time.sleep(1)
# note : use f string has the better use of tqdm.write method as this could escape from the error happens when wanna print structuralized string with args.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment