Standard Library
noun
say it: “STAN-derd LY-brer-ee” /ˈstændərd ˈlaɪbrɛri/
The large set of modules that comes with Python, ready to import with nothing to install, for dates, math, files, random numbers and more.
What is the standard library?
The standard library is the big set of modules that comes with Python, for dates, math, files, random numbers and much more. No installing needed.
import datetime
print(datetime.date.today()) # 2026-09-27
In a sentence
- “Before installing a package, check whether the standard library already does the job.”
- “datetime is part of the standard library, so the script works on any computer with Python.”
Level: Apprentice · More Python terms at this level
Updated