Modules in python

A module is a code written in another python program which can be imported in another program to use its functions, variables etc.