standard library

The collection of modules that ships with a programming language, available without installing anything extra.

In more detail

The standard library covers common needs such as data structures, file handling, networking and text processing, so programs can do a lot without third-party packages. Its code is widely used and well tested, so it is usually a safer choice than a hand-written equivalent.

Examples

Python modules used in the course: collections, heapq, bisect, hashlib, functools, operator, array.
import hashlib, hmac, secrets  # all ship with Python
ipaddress.ip_network("10.20.9.0/24").subnet_of(ipaddress.ip_network("10.0.0.0/8"))

Related terms

Taught in

References