¡@

Home 

python Programming Glossary: xyz.a

Why python finds module instead of package if they have the same name?

http://stackoverflow.com/questions/14183541/why-python-finds-module-instead-of-package-if-they-have-the-same-name

else print 'sys.path is NOT modified in t.py' import xyz.a Run python a.py Output sys.path is modified in a.py sys.path.. most recent call last File t.py line 9 in module import xyz.a File home dmugtasimov tmp name res3 xyz a.py line 11 in module.. matches home dmugtasimov tmp name res3 xyz a.py import xyz.a # precompiled from home dmugtasimov tmp name res3 xyz a.pyc..