[Tutor] Is there any way to move the print cursor in IDLE?
Luhmann
luhmann_br at yahoo.com
Wed Nov 25 20:15:30 CET 2009
I wanted to display a counter for my loops like this:
>>> for a in range(int(1e+307)):... a=str(a)... b='\b'*len(a)... print(b,a, sep='',end='')
But this only works on the command prompt, in IDLE it will flood the screen. How do I do it?
Découvrez les photos les plus intéressantes du jour.
http://www.flickr.com/explore/interesting/7days/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20091125/95f5b4cf/attachment.htm>
More information about the Tutor
mailing list