Skip to content

Instantly share code, notes, and snippets.

@LuRsT
Created December 13, 2016 11:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LuRsT/41e7fd434482bce74fe005e9d88fec31 to your computer and use it in GitHub Desktop.
Save LuRsT/41e7fd434482bce74fe005e9d88fec31 to your computer and use it in GitHub Desktop.
Loading bar in Python 3
import time
for x in range(10):
time.sleep(1)
print("Progress {:2.1%}".format(x / 10), end="\r")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment