Print formatting - same line printing?

Peter Schneider-Kamp petersc at stud.ntnu.no
Sun Jun 4 07:16:42 EDT 2000


Bablos wrote:
> 
> Is there a way that I can get Python to print this all on the same
> line, so that it looks as if the line is being updated constantly, as
> opposed to having a ridiculously long list of 'uploaded...' lines?

For unix you could just write:

print "\ruploaded",x,"bytes",

don't-know-if-it-works-on-other-platforms-though-ly y'rs Peter
--
Peter Schneider-Kamp          ++47-7388-7331
Herman Krags veg 51-11        mailto:peter at schneider-kamp.de
N-7050 Trondheim              http://schneider-kamp.de




More information about the Python-list mailing list