Media Summary: today I talk about typing the two types of starargs and why it's tricky / impossible to get correct - intro to typing / mypy: ... today I talk about currying, show an example with pure today I talk about __slots__ and __dict__ and how they relate to objects! playlist: ...

Python What Are Splat Args Intermediate Anthony Explains 233 - Detailed Analysis & Overview

today I talk about typing the two types of starargs and why it's tricky / impossible to get correct - intro to typing / mypy: ... today I talk about currying, show an example with pure today I talk about __slots__ and __dict__ and how they relate to objects! playlist: ... oops spoiler in the thumbnail it's str.partition, oh well -- I today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ... today I talk about one of my favorite additions to typing: Protocol! in this we extend from a previous example where we used ...

today we introduce another typing / mypy concept: generics! I show a few examples of how to write generic functions and generic ... today I show how to easily make classes comparable in today we talk about GNU long opts and prefix matching as well as how to disable it in today I talk about why dictionary literals (and other literals) are faster than their function-called counterparts - today I talk about why it's necessary to set `__slots__ = ()` when inheriting from namedtuple classes - namedtuples: ... today I talk about the `assert` statement, what it is, how it works, and why some will flag it as a "security" issue. playlist: ...

today I talk about insertion ordered dictionaries and when you can rely on them (cpython3.6+) and the differences between ... today we talk about parameter defaults in today I talk about how I consider which pythons to support for libraries and applications that I maintain. playlist: ...

Photo Gallery

python: what are *splat **args? (intermediate) anthony explains #233
python: typing *args / **kwargs (intermediate) anthony explains #145
all python argument / parameter types (beginner - intermediate) anthony explains #021
python: functools.partial (beginner - intermediate) anthony explains #254
python: what is __slots__ and __dict__ (intermediate) anthony explains #122
my favorite python str method! (beginner - intermediate) anthony explains #003
python typing: object vs Any (intermediate) anthony explains #275
structural subtyping in python with Protocol! (intermediate) anthony explains #164
python Generics (intermediate) anthony explains #430
python: easy comparable classes with functools.total_ordering (intermediate) anthony explains #353
Python Basics Iter Splat Trick
--argument prefix matching (beginner - intermediate) anthony explains #342
View Detailed Profile
python: what are *splat **args? (intermediate) anthony explains #233

python: what are *splat **args? (intermediate) anthony explains #233

today I talk about the two

python: typing *args / **kwargs (intermediate) anthony explains #145

python: typing *args / **kwargs (intermediate) anthony explains #145

today I talk about typing the two types of starargs and why it's tricky / impossible to get correct - intro to typing / mypy: ...

all python argument / parameter types (beginner - intermediate) anthony explains #021

all python argument / parameter types (beginner - intermediate) anthony explains #021

today I go over all of the various

python: functools.partial (beginner - intermediate) anthony explains #254

python: functools.partial (beginner - intermediate) anthony explains #254

today I talk about currying, show an example with pure

python: what is __slots__ and __dict__ (intermediate) anthony explains #122

python: what is __slots__ and __dict__ (intermediate) anthony explains #122

today I talk about __slots__ and __dict__ and how they relate to objects! playlist: ...

my favorite python str method! (beginner - intermediate) anthony explains #003

my favorite python str method! (beginner - intermediate) anthony explains #003

oops spoiler in the thumbnail it's str.partition, oh well -- I

python typing: object vs Any (intermediate) anthony explains #275

python typing: object vs Any (intermediate) anthony explains #275

today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ...

structural subtyping in python with Protocol! (intermediate) anthony explains #164

structural subtyping in python with Protocol! (intermediate) anthony explains #164

today I talk about one of my favorite additions to typing: Protocol! in this we extend from a previous example where we used ...

python Generics (intermediate) anthony explains #430

python Generics (intermediate) anthony explains #430

today we introduce another typing / mypy concept: generics! I show a few examples of how to write generic functions and generic ...

python: easy comparable classes with functools.total_ordering (intermediate) anthony explains #353

python: easy comparable classes with functools.total_ordering (intermediate) anthony explains #353

today I show how to easily make classes comparable in

Python Basics Iter Splat Trick

Python Basics Iter Splat Trick

Learn how to use the

--argument prefix matching (beginner - intermediate) anthony explains #342

--argument prefix matching (beginner - intermediate) anthony explains #342

today we talk about GNU long opts and prefix matching as well as how to disable it in

python: {...} is faster than dict(...) (intermediate) anthony explains #223

python: {...} is faster than dict(...) (intermediate) anthony explains #223

today I talk about why dictionary literals (and other literals) are faster than their function-called counterparts -

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

why __slots__ = () (namedtuples) (intermediate) anthony explains #123

why __slots__ = () (namedtuples) (intermediate) anthony explains #123

today I talk about why it's necessary to set `__slots__ = ()` when inheriting from namedtuple classes - namedtuples: ...

python: NewType vs aliases (intermediate) anthony explains #368

python: NewType vs aliases (intermediate) anthony explains #368

today is another

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

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

today I talk about the `assert` statement, what it is, how it works, and why some will flag it as a "security" issue. playlist: ...

python insertion-ordered dicts (beginner - intermediate) anthony explains #212

python insertion-ordered dicts (beginner - intermediate) anthony explains #212

today I talk about insertion ordered dictionaries and when you can rely on them (cpython3.6+) and the differences between ...

python parameter defaults are (mutable) globals (intermediate) anthony explains #364

python parameter defaults are (mutable) globals (intermediate) anthony explains #364

today we talk about parameter defaults in

what pythons should I support? (beginner - intermediate) anthony explains #239

what pythons should I support? (beginner - intermediate) anthony explains #239

today I talk about how I consider which pythons to support for libraries and applications that I maintain. playlist: ...