Chapter 6
Introduction to Modules
In Python, a module is a file containing Python definitions and statements. The file name is the module name with the suffix .py
added. For example, a file named my_module.py
would be a module containing Python definitions and statements.