printing dots in simple program while waiting

2008-01-09 Thread John
Ok, so this should be a really simple thing to do, but I haven't been able to get it on the first few tries and couldn't find anything after searching a bit. what i want to do is print a 'waiting' statement while a script is working-- the multithreading aspect isn't an issue, the printing on the

Re: printing dots in simple program while waiting

2008-01-09 Thread Tim Chase
Martin Marcher wrote: John wrote: import time s = '.' print 'working', # Note the , at the end of the line while True: print s, #Note the , at the end of this line too... time.sleep(1) see my comment in the code above... see my added comment in the code above... Though this

Re: printing dots in simple program while waiting

2008-01-09 Thread John
On Jan 9, 11:56 am, Martin Marcher [EMAIL PROTECTED] wrote: 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

RE: printing dots in simple program while waiting

2008-01-09 Thread Reedick, Andrew
-Original Message- From: [EMAIL PROTECTED] [mailto:python- [EMAIL PROTECTED] On Behalf Of Martin Marcher Sent: Wednesday, January 09, 2008 11:57 AM To: python-list@python.org Subject: Re: printing dots in simple program while waiting John wrote: import time s = '.' print

Re: printing dots in simple program while waiting

2008-01-09 Thread Martin Marcher
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

Re: printing dots in simple program while waiting

2008-01-09 Thread Santiago Romero
On 9 ene, 17:48, John [EMAIL PROTECTED] wrote: i want to print something like: (1sec) working... (2sec) working (3sec) working. where the 'working' line isn't being printed each second, but the dots are being added with time. something like: import time s = '.' print

Re: printing dots in simple program while waiting

2008-01-09 Thread John Machin
PROTECTED] Subject: Re: printing dots in simple program while waiting 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

Re: printing dots in simple program while waiting

2008-01-09 Thread John
On Jan 9, 12:14 pm, Reedick, Andrew [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:python- [EMAIL PROTECTED] On Behalf Of Martin Marcher Sent: Wednesday, January 09, 2008 11:57 AM To: [EMAIL PROTECTED] Subject: Re: printing dots in simple program