Skip to main content
py.stuartsm
  • Home
  • Learn
  • Reference
  • Glossary
  • Projects
  • Search
  • About
  1. Reference
  2. Standard library

Standard library

Modules from the Python standard library.

  • @dataclassGenerate __init__, __repr__, and __eq__ for a class automatically from its type-annotated fields.
  • pathlib.PathAn object-oriented representation of a filesystem path, and the standard, cross-platform way to build and manipulate paths.

A Python learning and reference site โ€” read to learn, search to look something up.

  • About
  • Reference
  • Curriculum