Tag: Python
All the articles with the tag "Python".
-
Mastering Context Managers in Python: Beyond 'with open()'
Understanding how context managers work under the hood — and how to build your own using __enter__ and __exit__.
-
Building a Stack from Scratch in Python
Reinventing the stack data structure in Python to understand object-oriented design and control flow.
-
Coroutines in Python: From Passive Generators to Reactive Code
A hands-on introduction to coroutines in Python using send(), yield, and the power of interactive pipelines.
-
Generator Pipelines in Python: Refactoring a Portfolio Report
Learn how to refactor procedural code into a clean, lazy-processing pipeline using Python generators.