* What is Python? * Starting Python * Line syntax * Reserved words * Basic types ** bool ** complex ** dict ** file ** float ** int ** list ** long ** None ** str ** tuple ** unicode * Basic built-in functions ** abs ** all ** any ** bool ** chr ** cmp ** complex ** dict ** divmod ** enumerate ** file ** filter ** float ** hex ** int ** iter ** len ** list ** long ** map ** max ** min ** oct ** open ** ord ** pow ** range ** raw_input ** reduce ** round ** set ** sorted ** str ** sum ** tuple ** unichr ** unicode ** zip * Advanced built-in functions ** callable ** classmethod ** delattr ** dir ** eval ** execfile ** frozenset ** getattr ** globals ** hasattr ** hash ** id ** isinstance ** issubclass ** locals ** property ** reload ** repr ** reversed ** setattr ** slice ** staticmethod ** super ** type ** vars * Expressions ** Operator precedence ** Predicates * Simple statements ** Assignment (=) ** assert ** break ** continue ** del ** exec ** global ** import ** pass ** print ** raise ** return ** yield * Compound statements ** for ** if/elif/else ** try/except/finally ** while ** with * Exceptions * Functions ** Defining a function ** Calling a function * User-defined classes ** Introduction to classes ** The constructor ** Special method names ** Static methods ** Class methods * The Python debugger ** Starting pdb ** Functions exported by pdb ** pdb commands * Commonly used modules ** sys ** math ** cmath ** string ** random ** re: Regular expression pattern matching *** Compiled regular expressions *** Methods on a MatchObject ** datetime ** types ** os ** stat ** os.path ** Low-level functions in the os module