September 2013
Intermediate to advanced
350 pages
9h 38m
English
Classes are like modules, except that classes contain methods and modules contain functions.
Methods are like functions, except that the first argument must be an object of the class in which the method is defined.
Method calls in this form—’browning’.capitalize()—are shorthand for this: str.capitalize(’browning’).
Methods beginning and ending with two underscores are considered special by Python, and they are triggered by particular syntax.
Read now
Unlock full access