Created
April 16, 2015 17:25
-
-
Save balkian/ff8baa5fea0b20372453 to your computer and use it in GitHub Desktop.
Print progress in python
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
import sys | |
# \r is carriage return, writes the following text to the beginning of the line | |
sys.stdout.write('\r<And your message>') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment