ViewTube

ViewTube
Sign inSign upSubscriptions
Filters

Upload date

Type

Duration

Sort by

Features

Reset

49 results

ZassTech Dev
Python's Silent Exception Trap: Catch Them in 1 Line

ThreadPoolExecutor swallows exceptions unless you call future.exception()—here's how to catch them instantly with a one-line ...

2:07
Python's Silent Exception Trap: Catch Them in 1 Line

5 views

12d ago

Python to Job
How to Raise Exceptions & Create Custom Exception Classes | Python Tutorial #31

Take control of your application's error boundaries: triggering errors with 'raise', designing custom domain exception hierarchies ...

1:27
How to Raise Exceptions & Create Custom Exception Classes | Python Tutorial #31

9 views

12d ago

vlogommentary
How to Raise an AirflowException Without Flooding Logs with Tracebacks

The Solution: Suppressing Tracebacks with Exception Chaining Python provides a clean way to raise exceptions without their ...

2:15
How to Raise an AirflowException Without Flooding Logs with Tracebacks

2 views

2w ago

Python Morsels
When to use NotImplemented in Python

When should you return NotImplemented from a dunder method? Why not return False or raise an exception instead? Read the ...

3:40
When to use NotImplemented in Python

392 views

4w ago

Python to Job
Python Multiple Except Blocks & Exception Hierarchy | Python Tutorial #29

Handle different errors gracefully: granular error dispatching, grouping related exceptions in tuples, inheritance hierarchy traps, ...

1:28
Python Multiple Except Blocks & Exception Hierarchy | Python Tutorial #29

5 views

12d ago

vlogommentary
How to Skip Bad Hosts and Return Good Results with Fabric in Python

Learn how to handle host connection timeouts gracefully with Python Fabric by skipping bad hosts and retrieving results from ...

3:09
How to Skip Bad Hosts and Return Good Results with Fabric in Python

0 views

2w ago

ZassTech Dev
Python's read_bytes vs read_text: The 1-Line Fix for Empty Files

Why does read_bytes() return b'' for empty files but read_text() raise UnicodeDecodeError—and how to fix it safely with open('r', ...

1:34
Python's read_bytes vs read_text: The 1-Line Fix for Empty Files

18 views

9d ago

vlogommentary
Why You Shouldn't Return None from __new__: Safer Instance Creation Patterns in Python

Learn why returning None from a class's __new__ method is discouraged and how to safely control instance creation in Python ...

3:39
Why You Shouldn't Return None from __new__: Safer Instance Creation Patterns in Python

0 views

2d ago

YBI Foundation
Why Does Python remove() Raise ValueError? | Python Interview Question #python #interview

Want to explore more interview questions with concept notes? Start Interview Preparation: ...

3:02
Why Does Python remove() Raise ValueError? | Python Interview Question #python #interview

7 views

2d ago

ZassTech Dev
Why read_text() Fails on Empty Files (And How to Fix It)

Most developers get UnicodeDecodeError on empty files with Path.read_text(). Here's why—and how pathlib's safe alternative ...

1:41
Why read_text() Fails on Empty Files (And How to Fix It)

11 views

11d ago