writing and reading binary data pickles with optional compression raw binary data with optional compression writing and parsing text files writing text parsing text parsing text using regular expressions writing and parsing xml files element trees dom (document object modelmanually writing xml parsing xml with sax (simple api for xmlrandom access binary files generic binaryrecordfile class examplethe bikestock module' classes summary exercises advanced programming techniques further procedural programming branching using dictionaries generator expressions and functions dynamic code execution and dynamic imports local and recursive functions function and method decorators function annotations further object-oriented programming controlling attribute access functors context managers descriptors class decorators abstract base classes multiple inheritance metaclasses functional-style programming partial function application xii