How to Start a (thread?) and Leave

gregpinero at gmail.com gregpinero at gmail.com
Fri Mar 9 15:57:25 EST 2007


On Mar 9, 3:45 pm, "abcd" <codecr... at gmail.com> wrote:
> > But a thread leaves the script running until the thread exits, right?
> > So the webpage would just keep saying "loading" at the bottom I think.
>
> > -Greg
>
> give it a shot.  if you spawn off a new thread your code should keep
> executing while the thread does its work in the "background".


That's the thing though, I don't want my code to keep executing, I
want the script to exit/finish completely.

I'm leaning towards os.startfile right now.  I also see some os.spawn
beasties in there but I don't understand those.

-Greg




More information about the Python-list mailing list