Python Types

Gábor Szabó Gábor Szabó
Language: Hebrew
The presentation was given on 2025.01.05 at PyWeb January 2025 at Bluevine.

Python is a very flexible language when it comes to variable types, but it allows for setting optional type-annotations.

You can mark all of your variables with types and then Python will promptly disregard your type-annotation.

So what is the value of these type annotation and how can you get to that value?