In the module inside the package, I have to use the function defined in __init__.py this package. how can i import a package inside a module that is inside a package so i can use this function?
Importing __init__ inside the module will not import the package, and instead a module named __init__ , which will lead to two copies of things with different names ...
Is there a pythonic way to do this?
python module package python-import
guy Jan 12 '09 at 18:38 2009-01-12 18:38
source share