built-in type gotchas - class gotchas - code reuse - coding class decorators - coding class trees - coding constructors coding exception classes - coding exception details - coding function decorators - coding functions - - coding metaclasses - coding methods - coding strings - coding subclasses common coding gotchas - database programming development community eibti acronym - function gotchas - improvement suggestions - for larger projects - minimizing cross-file changes - minimizing global variables module coding - program execution rapid development cycle rapid prototyping dflr (depth-firstleft-to-rightpath diamond patterns about attribute searches inheritance search order - __dict__ attribute about listing attributes in class trees listing instance attributes - metaprogram example namespace dictionaries and namespaces and private attributes and slots and - usage example wrapper classes and dict built-in function dictionaries (dict objectabout - adding keys index alternate ways to make changing in place classes versus - clear method common operations comparison operations copy method data structures and deleting items dictionary views - - empty dictionaries fromkeys method get method has_key method indexing interface considerations items method iteration in - keys method keyword arguments lists versus literals mapping operations - missing keys - movie database example - mutable nature of nesting optimization in ordereddict subclass pop method popitem method quiz questions and answers sequence operations and setdefault method sorting keys - string formatting expressions type-specific methods - update method usage considerations - values method version considerations - viewitems method viewkeys method viewvalues method zip built-in function and