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
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,
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