Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set your subtitle preferences in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please refer to our video player troubleshooting guide for assistance.

Supporting the "with" Statement in Your Own Python Objects

In this lesson you’ll learn how to implement the context managers functionalities for your own Python objects. In this case you’ll make use of the class-based approach.

Become a Member to join the conversation.