Most computer languages have a concept like modules that allows you to create a group of functions that are
in a convenient form for others to use—or even for yourself to use on different projects.
Python does this grouping of functions in a very simple and elegant way.
Essentially, any file with Python code in it can be thought of as a module with the same name as the file. However, before we get into writing our own modules, let’s look at how we use the modules already installed with Python.
Using Modules