Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

Learning Python, 3rd Edition 3rd Edition

4.0 out of 5 stars 280 customer reviews
ISBN-13: 978-0596513986
ISBN-10: 0596513984
Why is ISBN important?
ISBN
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Have one to sell? Sell on Amazon

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Rent On clicking this link, a new layer will be open
$12.19 On clicking this link, a new layer will be open
Buy used On clicking this link, a new layer will be open
$12.99 On clicking this link, a new layer will be open
More Buying Choices
8 New from $62.26 38 Used from $1.94

There is a newer edition of this item:

Free Two-Day Shipping for College Students with Prime Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student

click to open popover


Customers Viewing This Page May Be Interested In These Sponsored Links

  (What's this?)

Editorial Reviews

About the Author

NO_CONTENT_IN_FEATURE
New York Times best sellers
Browse the New York Times best sellers in popular categories like Fiction, Nonfiction, Picture Books and more. See more

Product Details

  • Paperback: 752 pages
  • Publisher: O'Reilly Media; 3 edition (November 1, 2007)
  • Language: English
  • ISBN-10: 0596513984
  • ISBN-13: 978-0596513986
  • Product Dimensions: 7 x 1.5 x 9.2 inches
  • Shipping Weight: 2.2 pounds
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (280 customer reviews)
  • Amazon Best Sellers Rank: #880,295 in Books (See Top 100 in Books)

Customers Viewing This Page May Be Interested In These Sponsored Links

  (What's this?)

Customer Reviews

Top Customer Reviews

By calvinnme HALL OF FAME on August 10, 2013
Format: Paperback
I like how O'Reilly breaks out its PERL books. There is "Learning PERL" for beginners, "Programming PERL" as a reference, and "PERL Cookbook" for solutions. Alas, this book, a weighty tome that makes the dictionary look skinny, should really be renamed "Programming Python". It's a great reference, but good luck trying to learn Python succinctly and from scratch. It's like trying to learn English by reading the dictionary. I'll give it 3 out of 5 on correctness and completeness, but like trying to buy a pair of shoes at a giant Megamart with no department signs, you'll eventually just get frustrated and leave.
10 Comments 254 people found this helpful. 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
Format: Paperback Verified Purchase
Another reviewer said that trying to learn Python from this book is like trying to learn english by reading the dictionary, and that couldn't be more true. Each discrete topic is covered in minute detail, so it isn't until page 500 or so of this 1500+ page book that you will have covered enough of the basics to write even a simple program. One of Python's strongest selling points is that it's easy to jump in and get programming right away, regardless of prior knowledge, so this book's approach is a major turn-off for anyone that wants to learn through practice and experience.

Speaking of which, readers will need to have at least some previous programming experience to make sense of this book, since it relies heavily on jargon that complete beginners are unlikely to understand. If you don't already know what functions, methods, strings, and such are (and experienced programmers here will laugh, but when you are first starting out, such terms can be confusing!) the author isn't going to explain, or if he does, it will be 200 pages later in a different section.

A more minor complaint is the dry and formal, textbook-like voice of the author. I don't need to be constantly entertained while learning, but I do need to have fun, and a little humor and personality go a long way.

I'm over a hundred pages in, and I give up. I need to actually program while learning to program. I was looking for a beginner friendly, tutorial style book that would encourage exploration and test my knowledge with quizzes. This isn't it. I think I will go back to my severely outdated copy of Beginning Python by Magnus Lie Hetland to brush up on basic program construction, then use this book as a reference as I get deeper into programming with Python.
6 Comments 151 people found this helpful. 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
Format: Kindle Edition Verified Purchase
I was a total noob that wanted to learn to program and was advised to learn Python, since I want to do some text analysis. I started out with Learn Python the Hard Way (to mind numbing), tried CodeCademy.com (to general) and watched a lot of videos on youtube (too fragmented) and read a lot of different specialized books on Python (like Python for Data Analysis). THIS book is finally the one that step-by-step in a good old school-teacher way is the perfect fit for me. Gentle, start at page 1 and go one page at the time forward - and it all makes sense and is perfectly balanced.

I strongly recommend this book for anyone that is absolutely new to programming and have no ambitions to be a programmer, but only yo learn to use code as a tool.
5 Comments 163 people found this helpful. 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
Format: Kindle Edition Verified Purchase
Caveat - I've been programming since 1992 in C/C++, Pascal, Java, PHP and have recently decided it's time to learn Python. This review is intended for those that know basic programming principles

This book probably has more content about Python than you will ever need. The problem is, it makes for very dense reading as Mark tries to appeal to too broad an audience, both newbies to programming and veterans. This means he laboriously explains all the basics AND all of the minute details of the language. This means learning basics like methods and classes takes many more hours of reading than it should.

Mark's style is: when in doubt to be verbose. If there are three ways to do something in Python, all three methods are explained in detail (sometimes multiple times) and the "pythonic" or "best practice" often saved until all are explained in full detail. For example, Mark spends multiple pages on the difference between __str__ and __repr__ (two methods you can override for class output) across several chapters, rather than just concisely explaining to use __repr__ most of the time, explain the difference and maybe a sidebar/appendix on the minutia of why "most of the time" you should just use __repr__ but there are a few exceptions.

Going back, I realized another reviewer summed it up perfectly -- "It's like learning the English language by reading a dictionary."

DO buy this book if you want to have a reference dictionary that has ever minute detail about Python.
DON'T buy this book if you are new to the language and want to get going quickly.

I've moved to just writing the code and following online tutorials, and when I run into a problem I don't understand diving into the book to try to find the reasons.
1 Comment 77 people found this helpful. 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
Format: Paperback
It's been awhile since I read something that badly written in computer books.
Don't get me wrong the guy knows his stuff and there is a lot of information hidden in there.
Unfortunately it is truly hidden in unnecessary repetitions and fluff.
It is not a book or reference or tutorial, this is something like a notes from Mark Lutz class, that he teaches. While in the class it is totally ok to revisit previous topics or not get distracted by advanced concepts in the book repetition and "I'll talk about it later" becomes super painful. Dear author, It's the book I can re-read previous topics as needed, there is no need to repeat it 20 times (and this is not an exaggeration).
In fact the most used phrase- which you will meet on average twice per page is "more on * later" and "as we discussed previously/(in chapter *)". If you don't believe me do a regular expression search on it.
This book would've been so much better if it was 1/5 in size with topics staying together (we have 3 places/chapters for strings in different places in the book and don't even get me started on classes presentation structure).
Also it looks a little biased toward 2.6 version and old ways (% vs format for instance), the very important point of being able to re-use positional anchor with format statement is not even mentioned as an advantage "{0}={0}.value".format("var") for example cannot do it with % have to type "var" twice.
3 Comments 95 people found this helpful. 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 Recent Customer Reviews