Modules and Packages
Standard library
import random
random.randint(0, 10)
random.seed(0)
random.randint(0, 10)
random.randint(0, 10)
random.randint(0, 10)
randint(0, 10)
from random import randint
randint(0, 10)
import math
math.sin(90)
math.sin(90 * math.pi / 180)
import mymath
import mymath
mymath.sin(90)
import os
os.listdir(".")
os.path.
Packages and modules
Command line demo