Standard library

The standard library gathers the modules shipped with Python, usable without installation: datetime, json, csv, pathlib, collections, random, re, logging, etc. Knowing these modules avoids rewriting proven tools or adding unnecessary dependencies.

Example

from collections import Counter
Counter('banane')

Related concepts

The whole glossary