I'm building a python package to do some auditing of systems at work. Thus far I've been able to work with using free floating .py files and and running the main file in the same directory as the module files. At a high level I want to create a package that holds several subpackages for specific audits. bigpackage>subpackage>modulefile.py I want to be able to import specific functions/methods from the modulefile. How can I accomplish this?
I have the
__init__ files in place for all my packages and can access them with the usual
from bigpackage import modulefile and run them using the dot operator like
modulefile.function1(bla, bla, bla) I would like to be able to import specific functions directly so I can run without using the dot operator like
function1(bla, bla, bla).