dededdew
This commit is contained in:
2
test1.py
2
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 # 直接设置进度
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user