This commit is contained in:
27942
2025-10-27 17:21:30 +08:00
parent 567af87861
commit d77f1e8928
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
import time
from tqdm import tqdm
pbar = tqdm(total=30)
pbar = tqdm(total=30,desc="正在执行任务",ncols=150)
for i in range(31): # 包含0~30
pbar.n = i # 直接设置进度