Tag: python
Advanced Context Managers Python 3.1+
Context managers (with statements) manage resource acquisition and release — contextlib provides tools for creating them without a full class definition.
2mo ago
python intermediate
Advanced Python Dataclasses Python 3.7+
Dataclasses auto-generate __init__, __repr__, __eq__ from field declarations — advanced features include frozen (immutable), slots (memory-efficient), and field metadata.
2mo ago
python intermediate