Media Summary: oops spoiler in the thumbnail it's str.partition, oh well -- I it's here! with ugly new typing syntax and infinitely nestable fstrings and one of the funniest changes I've seen in a while -- today I go over all the tools I use to set up my projects, as well as the differences between 1-file libraries, multi-file libraries, and ...
Python Variable Unpackings Beginner Intermediate Anthony Explains 031 - Detailed Analysis & Overview
oops spoiler in the thumbnail it's str.partition, oh well -- I it's here! with ugly new typing syntax and infinitely nestable fstrings and one of the funniest changes I've seen in a while -- today I go over all the tools I use to set up my projects, as well as the differences between 1-file libraries, multi-file libraries, and ... today I talk about why dictionary literals (and other literals) are faster than their function-called counterparts - today I show how imports work and how functions retain access to their global today I talk about the singleton pattern and a bunch of different ways to implement it in
probably the most asked question on my channel -- what are those funny @ signs! I today we go over the brand new variadic generics and how they change the type system (finally type-able `*args`!) - generics: ... today I talk about typing the two types of starargs and why it's tricky / impossible to get correct - intro to typing / mypy: ...