scopes in static string - - string formatting - superclass constructors tuple - unbound - underscores in usage examples microthreads min built-in function missing keys - mix-in classes - - __mod__ method module search path about - changing - lookup rules summary running modules modules (see also from statementimport statementpackagesabout - as extension for import/from statements attributes and - - byte code files - classes and common usage mistakes copying names - creating - data hiding in design concepts - dual mode code example - embedding calls enabling future language features exec built-in function and extension importing mixed usage modes - module search path - name clashes namespaces and - as objects - potential gotchas - programs and python program architecture and - quiz questions and answers reloading - - - scope considerations statements and usage considerations - modulus operator mod_python package mongodb database movie database example - mro (method resolution orderabout - new-style classes and super built-in function and __mro__ attribute about - inheritance and multiline block strings - multiline statements (see compound statementsmultiple context managers - multiple inheritance about class gotchas - diamond patterns of - mix-in classes and - super built-in function and - - multiple instances - multiple-target assignments - multiplication (*operator multiplying numbers repeating lists repeating strings multithreading multiway branching in if statements - mutable objects avoiding argument changes changing in modules default values for arguments dictionaries as function gotchas - lists as __name__ attribute about functions and index