TqdmPython 进度条
Tqdm 是一个快速,可扩展的Python进度条,可以在 Python 长循环中添加一个进度提示信息,用户只需要封装任意的迭代器 tqdm(iterator)。
安装:
-
最新的PyPI稳定版
pip install tqdm
-
在github上最新的开发版本
pip install -e git+https://github.com/tqdm/tqdm.git@master#egg=tqdm
用法:
-
基于可迭代
1.总结各地可迭代的tqdm():
text = "" for char in tqdm(["a", "b", "c", "d"]): text = text + char
2.trange(i)是tqdm(i)的一个特殊实例:
for i in trange(100): pass
3.对于实例之外的循环允许对tqdm()手动控制:
pbar = tqdm(["a", "b", "c", "d"]) for char in pbar: pbar.set_description("Processing %s" % char)
评论
LLARingSpinnerViewiOS 进度条
LLARingSpinnerView能炫丽的显示不确定的进度情况。简单API以界面的色彩优先当操作表或者弹出警告视图的时候自动变亮或者变暗界面颜色兼容iOS7
LLARingSpinnerViewiOS 进度条
0
CLDashboardProgressViewiOS 进度条
CLDashboardProgressView是仪表盘样式,圆形,块状进度条。使用方法:可使用自动布局或代码添加该控件;_progress = [[CLDashboardProgressView al
CLDashboardProgressViewiOS 进度条
0
jquery-progressbarjQuery 进度条
jquery-progressbar是一个显示在页面上滚动的进度指示器插件,它跟YouTube进度条相似。当页面加载时,YouTube的页面进度条能指示,但是这个插件能在页面滚动时显示。
jquery-progressbarjQuery 进度条
0
GaugeKitiOS 进度条
GaugeKit可轻松复制苹果的风格仪表。特性:灵活且高度自定义的仪表andhigh-customiziblegauges自动调整视图支持@IBInspectable&@IBDesignabl
GaugeKitiOS 进度条
0