Skip to content

Glossary: Python Basics

Module

Also written: modules

A file of ready-made Python code that you can import, usually about one subject, such as `random` or `datetime`. Any of your own `.py` files in the same folder can be a module too.

Where the book teaches it

Related terms

import