Module: A .py file containing variables, class, definitions, statements and functions related to a particular task.
Structure:-
Docstrings
Variables and constants
Classes
Objects
Statements
Functions
Library is a folder containing modules.
Package is a library with __init__.py in it
random module: random() returns floating point number beween 0.0 and 1.0
To generate random floating point number between a and b
random().random()*(b-a)+a
randint(a,b) generates random integer between a and b
urllib module lets user get http responses or import data by opening webpage using python.
urlib stands for the jk