Threads and import
Diez B. Roggisch
deets at nospam.web.de
Wed May 28 17:52:08 EDT 2008
> 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
More information about the Python-list
mailing list