In a module residing inside a package, i have the need to use a function defined within the __init__.py of that package. how can i import the package within the
If the package is named testmod and your init file is therefore testmod/__init__.py and your module within the package is submod.py then from within submod.py file, you should just be able to say import testmod and use whatever you want that's defined in testmod.