A file containing Python code like functions and variables is a Python module. A Python module is an executable file with a .py extension.
Python has built-in modules some of which are: