Upload date
All time
Last hour
Today
This week
This month
This year
Type
All
Video
Channel
Playlist
Movie
Duration
Short (< 4 minutes)
Medium (4-20 minutes)
Long (> 20 minutes)
Sort by
Relevance
Rating
View count
Features
HD
Subtitles/CC
Creative Commons
3D
Live
4K
360°
VR180
HDR
158 results
How to Create a Custom Context Manager? Creating a custom context manager can help manage resources. But many ...
327 views
1 year ago
What's the secret to custom context managers? 🏍️ Custom context managers let you manage resources easily. 🏍️ But why do ...
27 views
How to create a custom context manager in Python? A custom context manager uses __enter__ and __exit__ methods.
15 views
How to create a custom context manager in Python? You can create a custom context manager to manage resources. But it ...
153 views
Why use contextlib.contextmanager in Python? contextlib.contextmanager helps manage resources efficiently. It allows you ...
81 views
In this video, we'll explore the concept of context managers in Python and learn how to create a null or no-op context manager.
0 views
4 months ago
Can you use context managers in list comprehensions? Yes, context managers can be used in list comprehensions.
36 views
How to create context managers with ExitStack? Using ExitStack simplifies managing multiple context managers. It allows ...
384 views
How to close objects without context managers? contextlib.closing() is a great tool for closing objects that lack a context ...
84 views
How to Create Context Managers with contextlib.ExitStack? ⚠️ The ExitStack helps manage multiple context managers easily.
111 views
In this video, we tackle a common issue faced by Python developers when using the multiprocessing module: the 'Too Many Open ...
4 weeks ago
How to create a custom context manager? Use a context manager to control resource cleanup. You can create one with a ...
77 views
Is using a generator of context managers kosher? I hope you found a solution that worked for you :) The Content (except music ...
7 views
2 years ago
In this video, we delve into the intricacies of managing Python processes, focusing on the importance of context managers and ...
3 views
Why use contextlib.contextmanager in Python? The contextlib.contextmanager decorator lets you build context managers ...
17 views
11 months ago
Code Review: Python file reader/writer, with processing pipeline and context manager Helpful? Please support me on Patreon: ...
4 views
3 years ago
Code Review: Switch like context manager in Python Helpful? Please support me on Patreon: ...
What's the trick with contextlib.contextmanager for resource management? ✂️ Using contextlib.contextmanager helps manage ...
8 views
Software Engineering: Using python context managers instead of passing arguments: Is it an anti pattern? Helpful? Please ...
1 view
How do I make a 2.7 python context manager threadsafe? Helpful? Please use the *Thanks* button above! Or, thank me via ...
Aggregating psycopg2 Errors under a Context Manager I hope you found a solution that worked for you :) The Content (except ...
How can you handle temporary files safely in Python? A custom context manager is perfect for handling temporary files.
23 views
Code Review: Wrapping an Exception with context-management, using the with statement Helpful? Please support me on ...
26 views
More Pythonic Context Manager Wrapper Helpful? Please support me on Patreon: https://www.patreon.com/roelvandepaar With ...
2 views