Last active
September 13, 2018 16:00
-
-
Save zombie110year/9f73d2c2159fd2e53bac94750950a038 to your computer and use it in GitHub Desktop.
在 stdout 中展示一个进度条? 只需要输出回车但不换行就行了.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| print("进度:%4.2f%%"%(i/EXAM_COUNT*100), end='\r') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment