ViewTube

ViewTube
Sign inSign upSubscriptions
Filters

Upload date

Type

Duration

Sort by

Features

Reset

138 results

Python Peak
How to create a custom context manager in Python? Master Context Managers Create Your Own!

How to create a custom context manager in Python? A custom context manager uses __enter__ and __exit__ methods.

0:33
How to create a custom context manager in Python? Master Context Managers Create Your Own!

16 views

1 year ago

Python Peak
What’s the #secret to custom context managers? Unlocking the Power of Custom Context Managers in

What's the secret to custom context managers? 🏍️ Custom context managers let you manage resources easily. 🏍️ But why do ...

0:29
What’s the #secret to custom context managers? Unlocking the Power of Custom Context Managers in

27 views

1 year ago

The Debug Zone
How to Create a Null (No-Op) Context Manager in Python: A Step-by-Step Guide

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.

2:18
How to Create a Null (No-Op) Context Manager in Python: A Step-by-Step Guide

0 views

5 months ago

Python Peak
Why use contextlib.contextmanager in Python? Pythons #secret Custom Context Managers with

Why use contextlib.contextmanager in Python? The contextlib.contextmanager decorator lets you build context managers ...

1:03
Why use contextlib.contextmanager in Python? Pythons #secret Custom Context Managers with

18 views

1 year ago

The Debug Zone
How to Stop a Python Process While Ensuring Context Managers Call __exit__

In this video, we delve into the intricacies of managing Python processes, focusing on the importance of context managers and ...

1:57
How to Stop a Python Process While Ensuring Context Managers Call __exit__

3 views

5 months ago

Peter Schneider
Is using a generator of context managers kosher?

Is using a generator of context managers kosher? I hope you found a solution that worked for you :) The Content (except music ...

3:17
Is using a generator of context managers kosher?

7 views

2 years ago

The Debug Zone
Fixing 'Too Many Open Files' Error in Python Multiprocessing with Context Managers

In this video, we tackle a common issue faced by Python developers when using the multiprocessing module: the 'Too Many Open ...

2:16
Fixing 'Too Many Open Files' Error in Python Multiprocessing with Context Managers

0 views

1 month ago

Python Peak
What’s the trick with contextlib.contextmanager for resource management? Master Resource Management

What's the trick with contextlib.contextmanager for resource management? ✂️ Using contextlib.contextmanager helps manage ...

0:33
What’s the trick with contextlib.contextmanager for resource management? Master Resource Management

8 views

1 year ago

Roel Van de Paar
Using python context managers instead of passing arguments: Is it an anti pattern?

Software Engineering: Using python context managers instead of passing arguments: Is it an anti pattern? Helpful? Please ...

2:44
Using python context managers instead of passing arguments: Is it an anti pattern?

1 view

3 years ago

Roel Van de Paar
How do I make a 2.7 python context manager threadsafe?

How do I make a 2.7 python context manager threadsafe? Helpful? Please use the *Thanks* button above! Or, thank me via ...

2:28
How do I make a 2.7 python context manager threadsafe?

4 views

3 years ago

Roel Van de Paar
Code Review: Switch like context manager in Python

Code Review: Switch like context manager in Python Helpful? Please support me on Patreon: ...

3:05
Code Review: Switch like context manager in Python

4 views

3 years ago

Roel Van de Paar
Code Review: Python file reader/writer, with processing pipeline and context manager

Code Review: Python file reader/writer, with processing pipeline and context manager Helpful? Please support me on Patreon: ...

3:08
Code Review: Python file reader/writer, with processing pipeline and context manager

4 views

3 years ago

Python Peak
How can you handle temporary files safely in Python? Master Python Context Managers for Temporary

How can you handle temporary files safely in Python? A custom context manager is perfect for handling temporary files.

1:57
How can you handle temporary files safely in Python? Master Python Context Managers for Temporary

23 views

1 year ago

Peter Schneider
Codereview: Aggregating psycopg2 Errors under a Context Manager

Aggregating psycopg2 Errors under a Context Manager I hope you found a solution that worked for you :) The Content (except ...

3:40
Codereview: Aggregating psycopg2 Errors under a Context Manager

8 views

2 years ago

The Debug Zone
How to Pass Context to a Method in Another Class: A Step-by-Step Guide

In this video, we'll explore the essential concept of passing context between classes in programming. Understanding how to ...

2:29
How to Pass Context to a Method in Another Class: A Step-by-Step Guide

3 views

5 months ago

Python Trainer
Lab420 Context Manager solution
3:21
Lab420 Context Manager solution

0 views

3 years ago

Roel Van de Paar
More Pythonic Context Manager Wrapper

More Pythonic Context Manager Wrapper Helpful? Please support me on Patreon: https://www.patreon.com/roelvandepaar With ...

2:25
More Pythonic Context Manager Wrapper

2 views

4 years ago

Sophia Wagner
Codereview: Aggregating psycopg2 Errors under a Context Manager

Aggregating psycopg2 Errors under a Context Manager Hey guys! Hopefully you found a solution that helped you! The Content is ...

3:47
Codereview: Aggregating psycopg2 Errors under a Context Manager

9 views

1 year ago

Roel Van de Paar
Python unittest.mock.patch.object context manager

Python unittest.mock.patch.object context manager Helpful? Please support me on Patreon: ...

2:31
Python unittest.mock.patch.object context manager

73 views

3 years ago

Roel Van de Paar
Code Review: Wrapping an Exception with context-management, using the with statement

Code Review: Wrapping an Exception with context-management, using the with statement Helpful? Please support me on ...

2:59
Code Review: Wrapping an Exception with context-management, using the with statement

26 views

3 years ago