Before modules


Let's take a very simple script that has a single, and very simple function in it.


examples/modules/my_calculator_one_file.py

def add(a, b):
    return a + b


z = add(2, 3)
print(z)       # 5