Terminal application with non-standard print
Rémi
babedoudi at yahoo.fr
Sun Jan 24 14:27:44 EST 2010
Hello everyone,
I would like to do a Python application that prints data to stdout, but
not the common way. I do not want the lines to be printed after each
other, but the old lines to be replaced with the new ones, like wget
does it for example (when downloading a file you can see the percentage
increasing on a same line).
I looked into the curses module, but this seems adapted only to do a
whole application, and the terminal history is not visible anymore when
the application starts.
Any ideas?
Thanks,
Remi
More information about the Python-list
mailing list