import mymodule import mypackage.mypackagedmodule as mpm mymodule.f() mpm.f()