Learning Python: Powerful Object-Oriented Programming

Front Cover
"O'Reilly Media, Inc.", Oct 6, 2009 - Computers - 1216 pages
40 Reviews

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 dictionaries Create and process objects using Python statements, and learn Python's general syntax model Structure and reuse code using functions, Python's basic procedural tool Learn about Python modules: packages of statements, functions, and other tools, organized into larger components Discover Python's object-oriented programming tool for structuring code Learn about the exception-handling model, and development tools for writing larger programs Explore advanced Python tools including decorators, descriptors, metaclasses, and Unicode processing

  

What people are saying - Write a review

User ratings

5 stars
10
4 stars
13
3 stars
9
2 stars
5
1 star
3

Awesome so far, very good examples and explanations. - Goodreads
too fat to carry around, writing was redundant. - Goodreads
Good introduction to Python. - Goodreads
A straight forward basic introduction to Python - Goodreads
Good to have at your side for reference. - Goodreads

Review: Learning Python

User Review  - Valeriy - Goodreads

Good introduction to Python. But some topics are very large, every idea repeated again and again. Hence the book is very large - about 1,500 pages. Read full review

Review: Learning Python

User Review  - Jason Killian - Goodreads

Excellent introduction to python for those who already have a programming background. At times a bit repetitive, but clearly written for the most part. Tangents on things like ascii vs. unicode will ... Read full review

Contents

Preface
xxxi
Part I Getting Started
1
Part II Types and Operations
75
Part III Statements and Syntax
261
Part IV Functions
395
Part V Modules
529
Part VI Classes and OOP
611
Part VII Exceptions and Tools
825
Part VIII Advanced Topics
895
Part IX Appendixes
1089
Index
1141
Copyright

Common terms and phrases

About the author (2009)

Mark Lutz is the world leader in Python training, the author of Python's earliest and best-selling texts, and a pioneering figure in the Python community since 1992. He is also the author of O'Reilly's Programming Python, Python Pocket Reference, and Learning Python (all in 4th Editions). Mark can be reached on the web at www.rmi.net.

Bibliographic information