-m does not appear to find modules that are referenced
to with dots on windows:
D:\Python24\Lib\site-packages>python -m found
python: module found not found
D:\Python24\Lib\site-packages>echo print 'found!' >
found.py
D:\Python24\Lib\site-packages>python -m found
found!
D:\Python24\Lib\site-packages>mkdir directory
D:\Python24\Lib\site-packages>move found.py directory
D:\Python24\Lib\site-packages>del found.pyc
Could Not Find D:\Python24\Lib\site-packages\found.pyc
D:\Python24\Lib\site-packages>python -m found
python: module found not found
D:\Python24\Lib\site-packages>python -m directory.found
python: module directory.found not found
D:\Python24\Lib\site-packages>python directory\found.py
found!
D:\Python24\Lib\site-packages>
This should use the standard python finding mechanism
to cope with dotted packages. Also with package\__init__.py
|