What are static methods and why should you usually avoid using them?
Here we have a Hasher class uses a checksum to validate whether a given file has been corrupted:
This is a premium screencast available only to active Python Morsels subscribers.
Feel free to watch some of the free screencasts in the Classes series.
Need to fill-in gaps in your Python skills? I send weekly emails designed to do just that.
Python's classes can have attributes, just as class instances can have attributes. What are class attributes usually used for?