Python 3 - Why Context Managers are Awesome.

Опубликовано: 26 Февраль 2026
на канале: James Clare
180
21

In this session I'll show how a context manager works with a simple example, then we'll examine a custom class that can be used with a context manager.

My Full OOP Course:
https://www.udemy.com/course/object-o...

My beginners Python course:
https://www.udemy.com/course/python-p...

My functional Python course:
https://www.udemy.com/course/function...

-------------
GET The Pythonistas Notebook as your learning companion!
https://www.amazon.co.uk/dp/B0BZFLPGPY
--------------
FOLLOW for a daily Python tip:   / thedailypythontip  
--------------
JOIN for in-depth coding videos!
  / pythonwithjames379  
------------
Python 3 is an incredible language for beginners, and in each of these videos I am to bring a simple idea to you in short and easy to digest videos. I will be covering data types, control flow, looping, functions, comprehensions, variables, object orientation and much more.
------------
Have a request? Drop me a message!