In this video you will learn what a context manager in Python is and how it helps you to prevent wrapping code in try/finally blocks. After watching, you can create your own context manager that adds stopwatch functionality to arbitrary functions.
🎓Like my style of teaching? Try free chapters of my online courses: https://pythonforeveryone.com