Printing dots in sequence ('...')

beertje bjornkri at gmail.com
Tue May 22 04:02:31 EDT 2007


This is a very newbie question for my first post, perhaps
appropriately.

I want to print '....' gradually, as a progress indicator. I have a
for-loop that every 10 steps executes:
print '.',

This results in something like 'Loading. . . .', whereas I want
'Loading....'

A pet peeve, I can't for the life of me figure out how to get this
desired output. How do I print dots - or anything for that matter - in
sequence without a space being inserted in between?

Thanks.
Björn




More information about the Python-list mailing list