extended comprehension syntax for sets and dictionaries summary test your knowledgequiz test your knowledgeanswers the benchmarking interlude timing iteration alternatives timing modulehomegrown timing script timing results timing module alternatives other suggestions timing iterations and pythons with timeit basic timeit usage benchmark module and scripttimeit benchmark script results more fun with benchmarks other benchmarking topicspystones function gotchas local names are detected statically defaults and mutable objects functions without returns miscellaneous function gotchas summary test your knowledgequiz test your knowledgeanswers test your knowledgepart iv exercises part modules and packages modulesthe big picture why use modulespython program architecture how to structure program imports and attributes standard library modules how imports work find it compile it (maybe run it byte code files__pycache__ in python byte code file models in action table of contents xvii