From d77f1e8928b1c485d0a9e631cfb3ef47e90447b8 Mon Sep 17 00:00:00 2001 From: 27942 <2794236280@qq.com> Date: Mon, 27 Oct 2025 17:21:30 +0800 Subject: [PATCH] dededdew --- test1.py | 2 +- weex交易/30分钟仿盘交易.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test1.py b/test1.py index 1a5b360..1e6510d 100644 --- a/test1.py +++ b/test1.py @@ -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 # 直接设置进度 diff --git a/weex交易/30分钟仿盘交易.py b/weex交易/30分钟仿盘交易.py index be91f5d..2711376 100644 --- a/weex交易/30分钟仿盘交易.py +++ b/weex交易/30分钟仿盘交易.py @@ -160,7 +160,7 @@ class WeexTransaction: self.page.listen.start("public/quote/v1/getKlineV2") logger.success("浏览器开启抓包模式。。。") - self.pbar = tqdm(total=30) + self.pbar = tqdm(total=30, desc="等待时间中", ncols=150) # desc:进度条说明,ncols:长度 while True: