1 / 10

You've Already Done This

Two lessons ago you imported greeting.py — a file sitting next to your code, not something that shipped with Python. That was a module you wrote. Nobody called it that at the time.

So the how is behind you. There's no new syntax here, no marking a file as exportable, no declaring anything. A .py file with functions in it already qualifies.

What's left is the part that takes judgement: what to put inside one, and what to call it.