The Real Python Podcast cover image

Exploring Python With bpython & Formalizing f-String Grammar

The Real Python Podcast

00:00

How to Write a Class-Based Context Manager

The course goes through different examples of context managers that are in the Python standard library. There's a decorator in context lib that allows you to build context managers out of functions using the yield keywords. So if you're not yet tired of hearing me drone on in your ears, then go check the course out. Mr. Bailey, what do you think about me and my code? I enjoyed this course.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app