Python to print out status bar and percentage

Posted by Stan on Stack Overflow See other posts from Stack Overflow or by Stan
Published on 2010-06-08T23:27:00Z Indexed on 2010/06/08 23:32 UTC
Read the original article Hit count: 225

Filed under:

To implement a status bar like below:

[==========                ]  45%
[================          ]  60%
[==========================] 100%

I want to this to be printed out to stdout, and keep refreshing it, not print to another line. How to do this? thanks.

© Stack Overflow or respective owner

Related posts about python