English | 2009 | ISBN: 0596158068 | PDF | 1216 pages | 7.03 MB
Google and YouTube use Python because it's highly adaptable, easy to maintain, and allows for rapid development. If you want to write high-quality, efficient code that's easily integrated with other languages and tools, this hands-on book will help you be productive with Python quickly -- whether you're new to programming or just new to Python. It's an easy-to-follow self-paced tutorial, based on author and Python expert Mark Lutz's popular training course.
Each chapter contains a stand-alone lesson on a key component of the language, and includes a unique Test Your Knowledge section with practical exercises and quizzes, so you can practice new skills and test your understanding as you go. You'll find lots of annotated examples and illustrations to help you get started with Python 3.0.
Learn about Python's major built-in object types, such as numbers, lists, and dictionariesCreate and process objects using Python statements, and learn Python's general syntax modelStructure and reuse code using functions, Python's basic procedural toolLearn about Python modules: packages of statements, functions, and other tools, organized into larger componentsDiscover Python's object-oriented programming tool for structuring codeLearn about the exception-handling model, and development tools for writing larger programsExplore advanced Python tools including decorators, descriptors, metaclasses, and Unicode processing