Submodules



aproject/
    app.py
    mymodules/math.py


examples/aproject/app.py
import mymodules.math
z = mymodules.math.add(2, 3)

print(z)

examples/aproject/mymodules/math.py
def add(x, y):
    return x + y