Ayan Das · Intermediate Python: Generators, Decorators and Context managers - Part I
Welcome to the series of Intermediate Python tutorials. Before we begin, let me make it very clear that this tutorial is NOT for absolute beginners. This is for Python programmers who have familiarity with the standard concepts and syntax of Python. In this three parts tutorial, we will specifically look at three features of Python namely Generators, Decorators and Context Managers which, in my opinion, are not heavily used by average or below-average python programmers. In my experience, these features are lesser known to programmers whose primary purpose for using python is not to focus on the language too much but just to get their own applications/algorithms working. This leads to very monotonous, imparative-style codes which, in long run, become unmaintainable.
Welcome to the series of Intermediate Python tutorials. Before we begin, let me make it very clear that this tutorial is NOT for absolute beginners. This is for Python programmers who have familiarity with the standard concepts and syntax of Python. In this three parts tutorial, we will specifically look at three features of Python namely Generators, Decorators and Context Managers which, in my opinion, are not heavily used by average or below-average python programmers. In my experience, these features are lesser known to programmers whose primary purpose for using python is not to focus on…
related reading
- How to Use Generators and yield in Python – Real Pythonrealpython.com
- 9. Classes — Python 3.14.6 documentationdocs.python.org
- How Python Asyncio Works: Recreating it from Scratchjacobpadilla.com
- Difference between Python's Generators and Iterators - Stack Overflowstackoverflow.com
- Generatorswiki.python.org
- Classes & Iterators - Dive Into Python 3diveintopython3.net
- Iterators and Iterables in Python: Run Efficient Iterations – Real Pythonrealpython.com
- styleguide | Style guides for Google-originated open-source projectsgoogle.github.io
- Functional Programming HOWTO — Python 3.14.6 documentationdocs.python.org
- Learn to become a modern Python developerroadmap.sh
- Python Classes: The Power of Object-Oriented Programming – Real Pythonrealpython.com
- Transitioning from Python to Haskelltypeclasses.com