Learning Python: Powerful Object-Oriented Programming

Front Cover
"O'Reilly Media, Inc.", Jun 12, 2013 - Computers - 1648 pages

Get a comprehensive, in-depth introduction to the core Python language with this hands-on book. Based on author Mark Lutz’s popular training course, this updated fifth edition will help you quickly write efficient, high-quality code with Python. It’s an ideal way to begin, whether you’re new to programming or a professional developer versed in other languages.

Complete with quizzes, exercises, and helpful illustrations, this easy-to-follow, self-paced tutorial gets you started with both Python 2.7 and 3.3— the latest releases in the 3.X and 2.X lines—plus all other releases in common use today. You’ll also learn some advanced language features that recently have become more common in Python code.

  • Explore Python’s major built-in object types such as numbers, lists, and dictionaries
  • Create and process objects with Python statements, and learn Python’s general syntax model
  • Use functions to avoid code redundancy and package code for reuse
  • Organize statements, functions, and other tools into larger components with modules
  • Dive into classes: Python’s object-oriented programming tool for structuring code
  • Write large programs with Python’s exception-handling model and development tools
  • Learn advanced Python tools, including decorators, descriptors, metaclasses, and Unicode processing
 

What people are saying - Write a review

User Review - Flag as inappropriate

this is the best book for learning high level language and many related programming. This book help us to make a programme as some better artificial intelligence with other related programming or creating software.

User Review - Flag as inappropriate

I read this book cover to cover in sequence. In my opinion, its not really a beginner book to bring you up quickly on python, This book goes over the entire python language set with a microscopic level of view, leading you slowly to an advanced level of understanding on each topic of the language.
If you want to learn python in a week as an experienced programmer, I give this book a lowly 2 stars.
If you want to be a python language geek. I give this book 5 stars because there's much to geek out about in this book. especially in the advanced sections, learning about all the way you probably would never use the language as an ordinary user.
I give this book 3 stars if you read half of it and then toss it out the window, then switch to the second series in book "programming python" and skip around in the book looking for what you need... you might be able to pull off 2 weeks if you do that..
 

Contents

Section 1
Section 2
Section 3
Section 4
Section 5
Section 6
Section 7
Section 8
Section 22
Section 23
Section 24
Section 25
Section 26
Section 27
Section 28
Section 29

Section 9
Section 10
Section 11
Section 12
Section 13
Section 14
Section 15
Section 16
Section 17
Section 18
Section 19
Section 20
Section 21
Section 30
Section 31
Section 32
Section 33
Section 34
Section 35
Section 36
Section 37
Section 38
Section 39
Section 40
Section 41
Section 42

Other editions - View all

Common terms and phrases

About the author (2013)

Mark Lutz is a leading Python trainer, the author of Python’s earliest and best-selling texts, and a pioneering figure in the Python world.

Mark is the author of the three O’Reilly books: Learning Python, Programming Python, and Python Pocket Reference, all currently in fourth or fifth editions. He has been using and promoting Python since 1992, started writing Python books in 1995, and began teaching Python classes in 1997. As of Spring 2013, Mark has instructed 260 Python training sessions, taught roughly 4,000 students in live classes, and written Python books that have sold 400,000 units and been translated to at least a dozen languages.

Together, his two decades of Python efforts have helped to establish it as one of the most widely used programming languages in the world today. In addition, Mark has been in the software field for 30 years. He holds BS and MS degrees in computer science from the University of Wisconsin where he explored implementations of the Prolog language, and over his career has worked as a professional software developer on compilers, programming tools, scripting applications, and assorted client/server systems.

Mark maintains a training website (http://learning-python.com) and an additional book support site on the Web (http://www.rmi.net/~lutz).