21 February 2022

The new match Boss Statement

Modules and the Python Standard Library

What is a module? It's a Python program. Many modules have no main routine. They are collections of related functions residing in a file. We have seen this with the math module.

Where can I see all of the Python modules? They can be found in the Global Module Index in the Python documentation. These modules can do a vast array of tasks for you. You should look up the math module and see its contents.

Can I make my own module? Yes. We will see how to do this the smart way.