Media Summary: today I talk about a common pitfall in typing and how to today I talk about how it's easy to get confused when installing packages and how to today I talk about the `cat` command -- and that it's almost always unnecessary! playlist: ...
Fixing Nameerror Typeerror In Python Type Annotations Intermediate Anthony Explains 104 - Detailed Analysis & Overview
today I talk about a common pitfall in typing and how to today I talk about how it's easy to get confused when installing packages and how to today I talk about the `cat` command -- and that it's almost always unnecessary! playlist: ... today I show you what the `TYPE_CHECKING` constant is in the typing module and why you would ever use it! - circular imports ... Are you fed up with running into the dreaded TypeError: unsupported operand type(s) for +: 'int' and 'str' in Python? 😫 Don’t ... today I talk about gradual typing, what that means for mypy, and the settings I tend to use when I'm adding
today I talk about the __future__ module (not to be confused with the future module!) and how it affects execution in today I talk about what a backslash at the beginning of a triple-quoted string does, and two reasons why I do it! playlist: ... today I talk about the dir() builtin and how it's helpful for debugging when tab complete isn't working! - debugger crash course: ... today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ... today we're back talking about typing in mypy -- I show you two ways to debug today I go over the easily confusable NotImplemented and NotImplementedError -- as well as covering functools.total_ordering ...