wierd threading behavior

dcrespo dcrespo at gmail.com
Tue Oct 18 22:41:19 CEST 2005

> Hello,

> I am just starting to play threading in python, here is a really
> interesting problem I am very curious about:
> "
> import thread
> def main():
>    thread.start_new(test.())

First, delete the dot after "test".
Second, is possibly that the Main() finishes before you can see the
print out of test().

More information about the Python-list mailing list