Media Summary: today we introduce another typing / mypy concept: today I talk about the basics of generator functions and how you'd type annotate them! playlist: ... today we go over narrowings and `TypeGuard` -- which enables you to write your own user-defined narrowings! playlist: ...

Python Generics Intermediate Anthony Explains - Detailed Analysis & Overview

today we introduce another typing / mypy concept: today I talk about the basics of generator functions and how you'd type annotate them! playlist: ... today we go over narrowings and `TypeGuard` -- which enables you to write your own user-defined narrowings! playlist: ... today I talk about gradual typing, what that means for mypy, and the settings I tend to use when I'm adding types to a codebase ... today I discuss and demo my top favorite new things in python3.9! links: - getting python3.9 early via deadsnakes: ... today I talk about one of my favorite additions to typing: Protocol! in this we extend from a previous example where we used ...

today I talk about insertion ordered dictionaries and when you can rely on them (cpython3.6+) and the differences between ... today I talk about whether adding type annotations to today I talk about why dictionary literals (and other literals) are faster than their function-called counterparts - today I show how even if you don't know the operator precedence you can figure out how this evaluates! playlist: ... How's it going everyone? In today's video I'm going to be teaching you the power of today we talk about "soft" keywords and how they allow a growing programming language to evolve without breaking the world!

3.10 is coming! here's the new things to look out for! - top 10 new things in today I talk about what a `universal2` wheel is for macos and why it's a "2"! - what is a wheel?

Photo Gallery

python Generics (intermediate) anthony explains #430
python variadic generics (PEP 646) (intermediate - advanced) anthony explains #433
NEW generic / alias syntax for python 3.12 (PEP 695) (intermediate) anthony explains #561
python typing: Generator[T, S, R] (intermediate) anthony explains #297
generator basics (+typing) (beginner - intermediate) anthony explains #077
python TypeGuard (PEP 647) (intermediate) anthony explains #439
gradual typing python (and my approach) (beginner - intermediate) anthony explains #308
top 10 new things in python3.9 (beginner - intermediate) anthony explains #093
what pythons should I support? (beginner - intermediate) anthony explains #239
structural subtyping in python with Protocol! (intermediate) anthony explains #164
python insertion-ordered dicts (beginner - intermediate) anthony explains #212
is python with types faster? (intermediate) anthony explains #126
Sponsored
Sponsored
View Detailed Profile
python Generics (intermediate) anthony explains #430

python Generics (intermediate) anthony explains #430

today we introduce another typing / mypy concept:

python variadic generics (PEP 646) (intermediate - advanced) anthony explains #433

python variadic generics (PEP 646) (intermediate - advanced) anthony explains #433

today we go over the brand new variadic

Sponsored
NEW generic / alias syntax for python 3.12 (PEP 695) (intermediate) anthony explains #561

NEW generic / alias syntax for python 3.12 (PEP 695) (intermediate) anthony explains #561

today we go over the new syntax added in

python typing: Generator[T, S, R] (intermediate) anthony explains #297

python typing: Generator[T, S, R] (intermediate) anthony explains #297

today I talk about the three

generator basics (+typing) (beginner - intermediate) anthony explains #077

generator basics (+typing) (beginner - intermediate) anthony explains #077

today I talk about the basics of generator functions and how you'd type annotate them! playlist: ...

Sponsored
python TypeGuard (PEP 647) (intermediate) anthony explains #439

python TypeGuard (PEP 647) (intermediate) anthony explains #439

today we go over narrowings and `TypeGuard` -- which enables you to write your own user-defined narrowings! playlist: ...

gradual typing python (and my approach) (beginner - intermediate) anthony explains #308

gradual typing python (and my approach) (beginner - intermediate) anthony explains #308

today I talk about gradual typing, what that means for mypy, and the settings I tend to use when I'm adding types to a codebase ...

top 10 new things in python3.9 (beginner - intermediate) anthony explains #093

top 10 new things in python3.9 (beginner - intermediate) anthony explains #093

today I discuss and demo my top favorite new things in python3.9! links: - getting python3.9 early via deadsnakes: ...

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

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 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 ...

is python with types faster? (intermediate) anthony explains #126

is python with types faster? (intermediate) anthony explains #126

today I talk about whether adding type annotations to

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

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

today is another

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 -

why does python think -1**0 is -1 ? (intermediate) anthony explains #470

why does python think -1**0 is -1 ? (intermediate) anthony explains #470

today I show how even if you don't know the operator precedence you can figure out how this evaluates! playlist: ...

don't run `python my/script.py`! (beginner - intermediate) anthony explains #407

don't run `python my/script.py`! (beginner - intermediate) anthony explains #407

today I show why running `

Generics are awesome in Python

Generics are awesome in Python

How's it going everyone? In today's video I'm going to be teaching you the power of

python's "soft" keywords (intermediate) anthony explains #546

python's "soft" keywords (intermediate) anthony explains #546

today we talk about "soft" keywords and how they allow a growing programming language to evolve without breaking the world!

top 10 new things in python 3.10 (beginner - intermediate) anthony explains #289

top 10 new things in python 3.10 (beginner - intermediate) anthony explains #289

3.10 is coming! here's the new things to look out for! - top 10 new things in

what is a universal2 wheel? (intermediate) anthony explains #447

what is a universal2 wheel? (intermediate) anthony explains #447

today I talk about what a `universal2` wheel is for macos and why it's a "2"! - what is a wheel? https://youtu.be/4L0Jb3Ku81s ...

Related Video Content

Welcome to Python.org information

Python knows the usual control flow statements that other languages speak — if, for, while and range — with some of...

Introduction to Python - W3Schools information

Python Syntax compared to other programming languages Python was designed for readability, and has some similarities...

PY4E - Python for Everybody information

Python for Everybody This web site is building a set of free materials, lectures, book and assignments to help...

Best Python Courses + Tutorials | Codecademy information

Start your coding journey with Python courses and tutorials. From basic to advanced projects, grow your Python skills...

PyPI · The Python Package Index information

The Python Package Index (PyPI) is a repository of software for the Python programming language.