Smalltalk with James Robertson: category: py4u
PY 4U 50: Subclasses
About this episode
Today we'll look at how a subclass is defined in Python
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