Printing dots in single-line

Bob Gailer bgailer at alum.rpi.edu
Mon Nov 17 00:01:15 CET 2003


At 08:22 AM 11/13/2003, trofer at nic.nac.wdyn.de wrote:

>Hey there,
>
>I want to print some dots in a single-line while my program loads or does
>something. I tried with he following but it didn't work :(.
>
>while 1:
>     print '.',
>
>Prints line of dots separated by a whitespace (. . . . . . etc). Is there a
>way I can get it to display them without that white space (.......etc)?

Try (depending on the output device)
while 1:
     print '.\b',

Bob Gailer
bgailer at alum.rpi.edu
303 442 2625
-------------- next part --------------

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.538 / Virus Database: 333 - Release Date: 11/10/2003


More information about the Python-list mailing list