Message85966
To sum up the behavior, the following table displays whether
modules are read from the current working directory for various
ways how the python scripts can be launched (unfixed/fixed version):
unfixed fixed run as
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
yes no python test.py
yes no python ./test.py
yes no python /tmp/396/test.py
yes no /bin/env python test.py
yes yes test.py
yes yes ./test.py
yes yes /tmp/396/test.py
yes yes /usr/bin/python test.py
yes yes /usr/bin/python ./test.py
yes yes /usr/bin/python /tmp/396/test.py
no no test-in-different-dir.py
no no ./bin/test-in-different-dir.py
no no python ./bin/test-in-different-dir.py |
|
Date |
User |
Action |
Args |
2009-04-14 11:47:32 | iankko | set | recipients:
+ iankko |
2009-04-14 11:47:32 | iankko | set | messageid: <1239709652.53.0.858098316987.issue5753@psf.upfronthosting.co.za> |
2009-04-14 11:47:31 | iankko | link | issue5753 messages |
2009-04-14 11:47:30 | iankko | create | |
|