listing threads?
maximilianscherr
MaximilianScherr at T-Online.de
Thu Feb 28 16:07:31 EST 2002
in the docs theres the information, that i can list all active
threads with threading.enumerate(), but i always just get the
Mainthread displayed in the interpreter console.
im doing somethin like:
class test(threading.Thread):
def t(self):
print "self"
te = test()
te.start()
then if i do threading.enumerate() i just get the mainthread int he
list.
so how can i now list all (active) threads?
More information about the Python-list
mailing list