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
alf Of
> Rajat
> Sent: Thursday, January 07, 2010 2:42 PM
> To: python-l...@python.org
> Subject: How to execute a script from another script and other script
> does notdo busy wait.
>
> I want to run a python script( aka script2) from another python script
> (aka script1)
script from another script and other script
does notdo busy wait.
I want to run a python script( aka script2) from another python script
(aka script1). While script1 executes script2 it waits for script2 to
complete and in doing so it also does some other useful work.(does not
do a busy wait).
My