Media Summary: today we talk a bit about the `raise` statement and how it works if you don't specify any exception - try/except best practices: ... today I show a quick little trick for making numbers more readable in I goofed in my explanation of `assert_never` during the 3.11 video -- this corrects my mistakes! - what's new in

Python What Is Assert Beginner Anthony Explains 240 - Detailed Analysis & Overview

today we talk a bit about the `raise` statement and how it works if you don't specify any exception - try/except best practices: ... today I show a quick little trick for making numbers more readable in I goofed in my explanation of `assert_never` during the 3.11 video -- this corrects my mistakes! - what's new in today I talk about an old technique that might appear in legacy code -- a forced native literal! I also show how to automatically ... today I talk about Optional and a few approaches to typing the return value of `re.match` (which returns an Optional[Match[str]])! today I to into detail about data descriptors, non-data descriptors, what the point of them is, as well as a quick example! playlist: ...

today I issue a correction to my very first video and Let's find out why & how you should be using the I realize I've talked a lot about pytest on the channel, but never given it a proper introduction! - testing a cli with pytest: ... today I talk about the shlex module -- "shell lexing" -- and how it can be useful to parse / unparse unix command lines playlist: ...

Photo Gallery

python: what is assert? (beginner) anthony explains #240
python what is assert beginner anthony explains 240
Why THIS is used in Python
what are python doctests? (beginner - intermediate) anthony explains #300
python: exception catching and isinstance gotcha (beginner - intermediate) anthony explains #247
python: what is 0-arg raise? (beginner) anthony explains #387
2 + 2 == 5? Python Assert Statements for Beginners
python integer literal underscores! (beginner) anthony explains #183
assert_never / assert_type **CORRECTION** (intermediate) anthony explains #435
python: why str('foo') (python 2 / 3 compat) (beginner - intermediate) anthony explains #226
python typing: re.match and Optional (intermediate) anthony explains #115
python descriptors! (advanced) anthony explains #519
View Detailed Profile
python: what is assert? (beginner) anthony explains #240

python: what is assert? (beginner) anthony explains #240

today I talk about the `

python what is assert beginner anthony explains 240

python what is assert beginner anthony explains 240

Get Free GPT4o from https://codegive.com sure! here's a

Why THIS is used in Python

Why THIS is used in Python

In this video, we will discuss the

what are python doctests? (beginner - intermediate) anthony explains #300

what are python doctests? (beginner - intermediate) anthony explains #300

today I talk about

python: exception catching and isinstance gotcha (beginner - intermediate) anthony explains #247

python: exception catching and isinstance gotcha (beginner - intermediate) anthony explains #247

today I talk about exception handling in

python: what is 0-arg raise? (beginner) anthony explains #387

python: what is 0-arg raise? (beginner) anthony explains #387

today we talk a bit about the `raise` statement and how it works if you don't specify any exception - try/except best practices: ...

2 + 2 == 5? Python Assert Statements for Beginners

2 + 2 == 5? Python Assert Statements for Beginners

In Session 2, I introduce

python integer literal underscores! (beginner) anthony explains #183

python integer literal underscores! (beginner) anthony explains #183

today I show a quick little trick for making numbers more readable in

assert_never / assert_type **CORRECTION** (intermediate) anthony explains #435

assert_never / assert_type **CORRECTION** (intermediate) anthony explains #435

I goofed in my explanation of `assert_never` during the 3.11 video -- this corrects my mistakes! - what's new in

python: why str('foo') (python 2 / 3 compat) (beginner - intermediate) anthony explains #226

python: why str('foo') (python 2 / 3 compat) (beginner - intermediate) anthony explains #226

today I talk about an old technique that might appear in legacy code -- a forced native literal! I also show how to automatically ...

python typing: re.match and Optional (intermediate) anthony explains #115

python typing: re.match and Optional (intermediate) anthony explains #115

today I talk about Optional and a few approaches to typing the return value of `re.match` (which returns an Optional[Match[str]])!

python descriptors! (advanced) anthony explains #519

python descriptors! (advanced) anthony explains #519

today I to into detail about data descriptors, non-data descriptors, what the point of them is, as well as a quick example! playlist: ...

Python assert Statement

Python assert Statement

The

python: raise SystemExit (beginner - intermediate) anthony explains #331

python: raise SystemExit (beginner - intermediate) anthony explains #331

today I issue a correction to my very first video and

HOW You Should Be Using ASSERT In Python To Catch ERRORS

HOW You Should Be Using ASSERT In Python To Catch ERRORS

Let's find out why & how you should be using the

Python Glossary: Assert - Check If True

Python Glossary: Assert - Check If True

https://dataindependent.com/

pytest's parametrize (beginner - intermediate) anthony explains #027

pytest's parametrize (beginner - intermediate) anthony explains #027

today I

getting started with pytest (beginner - intermediate) anthony explains #518

getting started with pytest (beginner - intermediate) anthony explains #518

I realize I've talked a lot about pytest on the channel, but never given it a proper introduction! - testing a cli with pytest: ...

python: shlex module (beginner - intermediate) anthony explains #241

python: shlex module (beginner - intermediate) anthony explains #241

today I talk about the shlex module -- "shell lexing" -- and how it can be useful to parse / unparse unix command lines playlist: ...