📜  python tqdm seet width - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:23.018000             🧑  作者: Mango

代码示例1
from tqdm import tqdm

progressBar = tqdm(total=100, desc="Your description here", ncols=130) # You can change the 'ncols' parameter, to change the width of the progress bar
i = 0
while i <= 100:
  progressBar.update()
progressBar.close()