会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Beirut
你不努力,谁也给不了你想要的生活
博客园
首页
新随笔
联系
订阅
管理
2016年10月25日
python打印进度条
摘要: import sys,time第一种方法: for i in range(50): sys.stdout.write("#") time.sleep(0.1) sys.stdout.flush() 第二种方法: for i in range(10): print("#",end="",flush=True) time.sleep(0.4) ...
阅读全文
posted @ 2016-10-25 23:23 Beirut
阅读(1045)
评论(0)
推荐(0)
编辑