Smalltalk with James Robertson: category: py4u
PY 4U 52: Object Tests
About this episode
In Python, you can ask objects whether they are instances of a given class, or whether a given class is a subclass of another.
More from Smalltalk with James Robertson: category: py4u
In Python, you can take the instance of a raised exception as an argument to your handler; today we'll have a look at that.
Python lets you add a single else clause to a handler - and it'll get executed only if the execption(s) being handled don't happen
Today we'll have a look at exceptions in Python, and how to handle them
Today we'll import the CounterApp into another Python file and use it
Today we will go over a simple class in Python, as a prelude to adding test cases