Auto boutiques-francophones Simple and secure cloud storage fallcleaning Cook Music Deals Store Fall Barbecue
Programming Python and over one million other books are available for Amazon Kindle. Learn more
CDN$ 54.95
  • List Price: CDN$ 86.14
  • You Save: CDN$ 31.19 (36%)
In Stock.
Ships from and sold by Gift-wrap available.
Programming Python has been added to your Cart
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

Programming Python Paperback – Jan 10 2011

1 customer review

See all 4 formats and editions Hide other formats and editions
Amazon Price
New from Used from
Kindle Edition
"Please retry"
"Please retry"
CDN$ 54.95
CDN$ 54.95 CDN$ 53.72

Frequently Bought Together

  • Programming Python
  • +
  • Learning Python
  • +
  • Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython
Total price: CDN$ 143.18
Buy the selected items together

No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your e-mail address or mobile phone number.

Product Details

  • Paperback: 1632 pages
  • Publisher: O'Reilly Media; Fourth Edition edition (Jan. 10 2011)
  • Language: English
  • ISBN-10: 0596158106
  • ISBN-13: 978-0596158101
  • Product Dimensions: 17.8 x 7.6 x 23.3 cm
  • Shipping Weight: 2.3 Kg
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: #85,709 in Books (See Top 100 in Books)
  • See Complete Table of Contents

Product Description

Book Description

Powerful Object-Oriented Programming

About the Author

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 has been a software developer for 25 years, and is the author of O'Reilly's Programming Python, 3rd Edition and Python Pocket Reference, 3rd Edition.

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4.0 out of 5 stars
5 star
4 star
3 star
2 star
1 star
See the customer review
Share your thoughts with other customers

Most helpful customer reviews

3 of 3 people found the following review helpful By mko on July 26 2011
Format: Paperback
Programming Python is one of these book you can kill with when dropped from appropriate height. I am not Python expert, rather casual Python programer, I focus rather on Java-Python bindings and I was looking for a book that I can use as a reference point. Python Programming covers quite a loot of Python related aspects of the language, is well structured, and covers most recent Python release (version 3).

Programing Python is not a typical programming book ' famous 'Hello world' occurs for the first time at page 129. It's more Python
reference book than programming book. Mark covers many, typical, issues that most programers will face during programming. What's good about this book are simple, straight and pragmatic examples ' just the essence. However, sweet things have sometimes bitter taste when not served well. What I don't like within the book are huge code listings. I fell like putting 20 pages of code straight into text is simply waste of space. I prefer to use external resources (CD, source codes from ftp) instead of reading the code within the book (it's like going back to 90's). What I miss in the book is Python/Java integration. I use Python within Java and would like to read more regarding this topic the way Python/C integration is described. Would I recommend this book? If you are looking for Python reference ' yes, if you are looking for Java-Python compendium ' no.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again.
Report abuse

Most Helpful Customer Reviews on (beta) 51 reviews
59 of 66 people found the following review helpful
Can A Reference Book Be Too Thorough? Jan. 9 2011
By B.L. - Published on
Format: Paperback
Programming Python is a book designed to take people who know Python and guide them on how to actually make it do things in the real world. It's important to note that the material in here (In the December 2010 4th edition) is for 3.X versions of Python and only deals with 2.X to the extent that the versions overlap, so you'll be better off with an earlier edition of the book (or another book designed to deal thoroughly with both versions) if you're working on a project that needs to work uusing earlier versions of Python.

The amount of information here is gigantic, and includes sample code to some degree on practically every page. I was working from an ebook that O'Reilly gave me access to as a review copy, and I can imagine how unwieldy the actual physical book must be given the 1600+ page count. If you prefer to buy hard copies of books, this is definitely not going to be the quick reference book that you carry around in your back pocket.

Since it's so focused on how to actually use Python code to accomplish specific tasks, the best thing about Programming Python is that it comes from O'Reilly. It shares their usual policy for programming books that you're welcome to reuse the code samples in your own projects, and the publisher also provides errata for all of their books at their website.

If you need a guide on how to do just about anything from creating a GUI to interfacing with an SQL database, Programming Python is a remarkably thorough resource.
51 of 59 people found the following review helpful
Reasonable source of information but some aspects I didn't like Sept. 21 2011
By Antonio - Published on
Format: Paperback
I've programmed in Python before, but haven't used it for a couple of years. I was looking for a refresher, as well as some example applications.

Firstly note that this book isn't an introduction to Python, nor is it a reference. The author makes that clear in the preface, instead referring you to the other titles he has written. Also the book covers Python 3.x. Perhaps those who are interested in earlier versions should get the previous edition of the book. On the other hand while there are some changes between the two versions, reading the book wouldn't be a waste of time if you are interested in Python 2.x

I liked this book in the sense that if I looked up a particular topic, I often found his discussion reasonable and could get some useful idiomatic python code to use.

On the other hand, the author intends this book as a tutorial. When I tried to read through it as a tutorial I just found it falling a bit flat. Also at around 1600 pages I doubt I would have the endurance to read through it from beginning to end.

I guess the main problem with the book is that you are interested in one particular area to use Python, say web development, or interfacing with databases this book would probably have insufficient detail, and you would want a specialist book in that area. Also I found the authors writing style somewhat verbose. Another issue is that those people who want to build a GUI for instance may not be interested in his choice of tool Tkinter.

In conclusion, this book does have some useful information, I didn't really like it. While it is hard to pin down the reasons for my dislike, I guess it is because he tries to cover so many topics, that not all of them are covered that well. Also it is not always clear who the audience is, beginners may find his explanations to terse, whereas those who have some familiarity with python may wonder why he is pointing out the obvious. I recommend people who are looking to develop a particular application in python, instead get a book more focused on their area of interest. Those who are new to python should avoid this book also. Those who are looking for a python 3.x refresher should find a book that's a little less weighty.

It's kind of annoying all those people who have received a free book from O'reilly giving it a five star review. Although they disclosed it, it now makes me suspicious as to how many other five star reviews are given by people who enjoy getting free books, and haven't disclosed the fact.
25 of 28 people found the following review helpful
Great if you're a programmer, not if you're a beginner March 25 2011
By healthyfatboy - Published on
Format: Paperback
For those looking to further their Python abilities, Programming Python by Mark Lutz is a great tool in achieving that goal. If you're new to programming and trying to learn Python, you'll want to start with Learning Python by Mark Lutz as that will give you the necessary foundation. Then you can move to this one.

I was interested in learning the language and didn't realize there was a Learning Python so I got Programming Python instead. Luckily, I have experience with a couple of languages so I was able to go through the book and learn what I needed to know. There are many good examples given that explain what you are trying to learn. As with other O'Reilly books, this also has plenty of code to help you through all the topics covered in the book. The index is well done and is great as a reference for later on when you need to look something up in a pinch.

What I found really interesting is Chapter 20 about the integration of Python with C. Seeing that a lot of industry uses C for a lot of operational systems, that chapter was particularly useful as it helps to learn how to interface the two languages together. I have worked primarily with MATLAB throughout school and work. MATLAB is also able to interface with C and it's great, but expensive. Python is a great open source language so it allows anyone on a tight budget to do similar things as MATLAB and the ability to interface with C is great and this chapter will get you going on that.

I highly recommend this book to anyone wanting to delve further into Python. If you have prior programming experience, especailly in OOP, then you should be fine with this. If you don't have that experience, like I said, start with Learning Python. You'll be better off that way.
26 of 30 people found the following review helpful
This book weighs FIVE POUNDS. March 31 2014
By Paul A. Caskey - Published on
Format: Paperback
This is, by far, the biggest O'Reilly book I have ever seen. Maybe there is some Java book that matches it; I don't know. This one weighs 4 lbs 14 oz, and is almost 3 inches thick. Here is what you should do, if you buy this book:

1. Get a hacksaw and cut through the binding at page 355. Now you have a 3/4" thick book, from the front, containing a deep "introduction" to Python. This nice little rambling tutorial will be too confusing for a beginner, incomplete enough to be worthless as a reference, but very good if you are a PhD Computer Scientist interested in theoretical Object Oriented design, Python Internals, and a particularly confusing dive into python data structures. And parsing Windows directory trees. Read this little book once, and then chuck it into your nearest recycling bin.

2. Make your next hacksaw cut through the binding at page 768. This, oddly enough, produces another 3/4" thick book. Seal the binding with electrical tape. Label this book "Python/Tk GUI Programming" and stick in on your book shelf to collect dust. Reach for it some Sunday you are feeling nostalgic for the days when anyone cared about raw Windows or Linux GUI interfaces, instead of web interfaces.

3. What you have left is a hefty 830-page (!) O'Reilly book on Programming Python. This is the second half of the original book. This will now be on par with the other O'Reilly standards on Java or Perl already on your bookshelf -- measured by pure dead tree weight. This trimmed-down volume is a nice tome on Python client/server programming, Internet protocols, threads, textual data parsing theory and examples, database connections, and still some more Tk GUI stuff (the author can't seem to resist).

The 2010 publication date is a paradox, because this book only covers the new Python v3, which is a major split from Python 2. But every desktop and server in my work environment has Python 2.6 or 2.7 installed, so that's what I'm using. As a professional needing to come up to speed on Python, I need a clean examination of both Python 2 and 3. Certainly there is room for that in a 1600-page book, right? Apparently not. Plus, as a V3 reference, there are gaps in this book because it was published before Python 3 was fully baked.

So again, this book is a poor fit. No matter how you slice it. (rim shot)

Donate this book to a library, school, or sell it at a used book store. Whatever you do, don't pay to ship this beast back to Amazon. This shipping cost will kill you. Get ready for jaw drops from the guys at your local monthly programming group. If nothing else, this book is good --- for some laughs.
6 of 6 people found the following review helpful
Verbose and time-consuming May 29 2012
By Bumblebee - Published on
Format: Paperback
I don't know who this book is for. If you are a programmer with solid understanding of a similar language, then this book will bore you to tears since Lutz is moving incredibly slowly. It's not better if you are a beginner wanting to get going with Python because this book is quite theoretical and there aren't enough exercises in it.

If you are a programmer, check out the official Python docs, which are very thorough and probably all you need to get started. As a beginner, have a look at "Think Python" maybe, or at "Dive into Python", which will give you a bit of handholding, explain the nuts and bolts at a reasonable level, and get you started coding programs of increasing complexity.