Understanding Python's raise for Crafting Exceptions

  Рет қаралды 853

Real Python

Real Python

2 ай бұрын

This is a preview of the video course, "Using raise for Effective Exceptions." In your Python journey, you’ll come across situations where you need to signal that something is going wrong in your code. For example, maybe a file doesn’t exist, a network or database connection fails, or your code gets invalid input. A common approach to tackle these issues is to raise an exception, notifying the user that an error has occurred.
This is a portion of the complete course, which you can find here:
realpython.com/courses/using-...
The rest of the course covers:
- Creating Custom Exceptions
- Asserting Conditions
- Recent Addition of Exception Grouping
- Multiple code examples

Пікірлер
Getting Started Building a Python CLI With argparse
17:13
Real Python
Рет қаралды 6 М.
Using Global Variables in Python Functions
13:31
Real Python
Рет қаралды 1,1 М.
3 wheeler new bike fitting
00:19
Ruhul Shorts
Рет қаралды 49 МЛН
A Simpler Way to See Results
19:17
Logan Smith
Рет қаралды 97 М.
Object Oriented Programming is not what I thought - Talk by Anjana Vakil
38:51
Python's 5 Worst Features
19:44
Indently
Рет қаралды 100 М.
5 Useful Dunder Methods In Python
16:10
Indently
Рет қаралды 53 М.
Start Working With Python's Tkinter GUI Framework
16:53
Real Python
Рет қаралды 960
Master Go Programming With These Concurrency Patterns (in 40 minutes)
46:15
10 Python Comprehensions You SHOULD Be Using
21:35
Tech With Tim
Рет қаралды 120 М.
Python dataclasses will save you HOURS, also featuring attrs
8:50