Threading question

Aahz Maruch aahz at panix.com
Thu Apr 12 15:02:10 EDT 2001


In article <mailman.987097937.1958.python-list at python.org>,
Jared Lee Peterson  <jared at tgflinux.com> wrote:
>
>tmp = Thread(target=os.system(other_script.py))

I recommend that you subclass threading.Thread rather than trying to
pass in a function.  It makes your life a lot easier.  For more info,
see http://starship.python.net/crew/aahz/
-- 
                      --- Aahz  <*>  (Copyright 2001 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het Pythonista   http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

Why is this newsgroup different from all other newsgroups?



More information about the Python-list mailing list