How to do multiple things at once without blocking your program.
Python 101 - 27: Building Your Own Context Managers
How to create custom context managers to automate setup and teardown tasks.
Python 101 - 26: Files and the 'with' Keyword
How to read, write, and append to files safely using Context Managers.
Python 101 - 25: Pydantic Models
How to use Pydantic models for data validation, type coercion, and serialization in Python.
Python 101 - 24: Type Hinting & Validation
Python type hints to write cleaner code, and how to use Pydantic to validate data.
Python 101 - 23: Modules & Packages
How to organize your Python project into modules and packages using imports.
Python 101 - 22: Object-Oriented Programming (OOP)
Core concepts of Object-Oriented Programming (OOP) in Python.
Python 101 - 21: Mutable Default Arguments
Why you should never use empty lists or dicts as default arguments.
Python 101 - 20: Error Handling
How to use Try/Except blocks to deal with errors and keep your program running smoothly.
Python 101 - 19: Decorators
How to wrap functions to add new behavior without changing your original code.
Navigation
Page 1 of 3