Martin Heinz:
Python provides a lot of ways to ask questions about your code. Whether it's basic things like
help()
function, builtin functions likedir()
or more advanced methods ininspect
module - the tools are there to help you find the answers to your questions.Let's find out what kinds of questions about our own code can Python answer for us and how it can help us during debugging sessions, dealing with type annotations, validating inputs and much more.