¡@

Home 

python Programming Glossary: package1

Import paths - the right way?

http://stackoverflow.com/questions/6465549/import-paths-the-right-way

etc. So I have this kind of a project structure my_project package1 __init__.py module1 module2 package2 __init__.py module1 module2.. by package2 . What am i doing now is that for example in package1.module1 i write from package1 import module2 i.e. using full.. now is that for example in package1.module1 i write from package1 import module2 i.e. using full path to imported module. I do..