Python modules are files containing Python code that can be either function classes or variables. These modules are Python files having a .py extension. Modules can include a set of functions, classes, or variables that are both defined and implemented. You can import and initialize a module using the import statement, learning python tutorial will let us know more about python modules.
Here are some of the commonly used built-in modules in Python:
- os
- sys
- math
- random
- data time
- JSON