Python 2.4.4 (#1, Oct 18 2006, 10:34:39) [GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin Type "help", "copyright", "credits" or "license" for more information. import TestThread # from TestThread.py
If I use python 2.5, this doesn't happen - instead, the module ist just run. If I use python 2.4, it doesn't work unless I do export PYTHONPATH=. before I use the -m-option. But then it works as advertised... Diez -- http://mail.python.org/mailman/listinfo/python-list