Skip to content

Instantly share code, notes, and snippets.

@zombie110year
Last active September 13, 2018 16:00
Show Gist options
  • Select an option

  • Save zombie110year/9f73d2c2159fd2e53bac94750950a038 to your computer and use it in GitHub Desktop.

Select an option

Save zombie110year/9f73d2c2159fd2e53bac94750950a038 to your computer and use it in GitHub Desktop.
在 stdout 中展示一个进度条? 只需要输出回车但不换行就行了.
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