Contents
Builtin Modules
Python has a rich standard library of built-in modules that provide a wide range of functionality. Some of the most commonly used built-in modules include: sys, os, math, datetime, random, re, itertools, etc.
Visit the following resources to learn more:
Custom Modules
Modules refer to a file containing Python statements and definitions. A file containing Python code, for example: example.py
, is called a module, and its module name would be example. We use modules to break down large programs into small manageable and organized files. Furthermore, modules provide reusability of code.
Visit the following resources to learn more: