Re: How to execute a script from another script and other script does notdo busy wait.

2010-01-07 Thread Jan Kaliszewski
Rajat wrote: I've single CPU machine. I've a feeling that the thread created, which would run script2, would eat up all of the CPU if I do not use sleep() in script2. That way, script1 would still be waiting for script2 to finish. Single CPU is not a problem for threads (in fact it's even

Re: How to execute a script from another script and other script does notdo busy wait.

2010-01-07 Thread Rajat
On Jan 7, 2:21 pm, "VYAS ASHISH M-NTB837" wrote: > Use threads > > Regards, > Ashish Vyas > > > > -Original Message- > From: python-list-bounces+ntb837=motorola@python.org > > [mailto:python-list-bounces+ntb837=motorola@python.org] On Behalf Of > Rajat > Sent: Thursday, January 07,

RE: How to execute a script from another script and other script does notdo busy wait.

2010-01-07 Thread VYAS ASHISH M-NTB837
Use threads Regards, Ashish Vyas -Original Message- From: python-list-bounces+ntb837=motorola@python.org [mailto:python-list-bounces+ntb837=motorola@python.org] On Behalf Of Rajat Sent: Thursday, January 07, 2010 2:42 PM To: python-list@python.org Subject: How to execute a scrip