def theUltimateFunction():
    from MyMainPackage import SomeMainScript
    from MyMainPackage.SubPackage import SomeSubScript

    SomeMainScript.my_main_funct()
    SomeSubScript.my_sub_function()
Example #2
0
# # Import from a module

# from mymodule import my_func

# my_func()

# Import from a package
from MyMainPackage import SomeMainScript
from MyMainPackage.SubPackage import MySubScript

SomeMainScript.report_main()
MySubScript.sub_report()
from MyMainPackage import SomeMainScript
from MyMainPackage.SubPackage import SomeSubScript

SomeMainScript.my_main_funct()
SomeSubScript.main()
from MyMainPackage import SomeMainScript
from MyMainPackage.SubPackage import SomeSubScript

SomeMainScript.MainFun()
SomeSubScript.SubFun()
from MyMainPackage import SomeMainScript
from MyMainPackage.MySubPackage import SomeSubScript
SomeMainScript.printModule()
SomeSubScript.printModule()


Example #6
0
from MyMainPackage import SomeMainScript

SomeMainScript.printer()
Example #7
0
from MyMainPackage import SomeMainScript
from MyMainPackage.SubPackage import SomeSubScript

SomeMainScript.function1()
SomeSubScript.function2()
Example #8
0
from MyMainPackage import SomeMainScript
from MyMainPackage.SubPackage import SomeSubScript

SomeMainScript.MainScript()
SomeSubScript.SubScript()