printing dots in simple program while waiting

Martin Marcher martin at marcher.name
Wed Jan 9 11:56:39 EST 2008


John wrote:

> import time
> s = '.'
> print 'working', # Note the "," at the end of the line
> while True:
>     print s
>     time.sleep(1)

see my comment in the code above...

if that's what you mean

/martin

-- 
http://noneisyours.marcher.name
http://feeds.feedburner.com/NoneIsYours

You are not free to read this message,
by doing so, you have violated my licence
and are required to urinate publicly. Thank you.




More information about the Python-list mailing list