python Programming Glossary: package2
Import paths - the right way? http://stackoverflow.com/questions/6465549/import-paths-the-right-way structure my_project package1 __init__.py module1 module2 package2 __init__.py module1 module2 Package1 may be used a standalone.. a standalone unit but is also expected to be imported by package2 . What am i doing now is that for example in package1.module1.. work when the module will be imported from another package package2 . I also cannot use from . import module2 this will not work..
|