Roger> .setDaemon(True) means the thread gets destroyed when the program Roger> exits and default .setDaemon(False) means that the thread Roger> continues to process even when the main program is gone?
Approximately. The main thread (and thus the program) will exit only when all non-daemon threads have finished. A thread can't continue to run if the main program has exited. -- Skip Montanaro - s...@pobox.com - http://smontanaro.dyndns.org/ -- http://mail.python.org/mailman/listinfo/python-list