Learning Python, Second Edition Second Edition
Use the Amazon App to scan ISBNs and compare prices.
"Devoted" by Dean Koontz
For the first time in paperback, from Dean Koontz, the master of suspense, comes an epic thriller about a terrifying killer and the singular compassion it will take to defeat him. | Learn more
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.
To get the free app, enter your mobile phone number.
Customers who viewed this item also viewed
What other items do customers buy after viewing this item?
About the Author
Mark Lutz is an independent Python trainer, writer, and software developer, and is one of the primary figures in the Python community. He is the author of the O'Reilly books Programming Python and Python Pocket Reference (both in 2nd Editions), and co-author of Learning Python (both in 2nd Editions). Mark has been involved with Python since 1992, began teaching Python classes in 1997, and has instructed over 90 Python training sessions as of early 2003. In addition, he holds BS and MS degrees in computer science from the University of Wisconsin, and over the last two decades has worked on compilers, programming tools, scripting applications, and assorted client/server systems. Whenever Mark gets a break from spreading the Python word, he leads an ordinary, average life with his kids in Colorado. Mark can be reached by email at , or on the web at http://www.rmi.net/~lutz.
David Ascher is the lead for Python projects at ActiveState, including Komodo, ActiveState's integrated development environment written mostly in Python. David has taught courses about Python to corporations, in universities, and at conferences. He also organized the Python track at the 1999 and 2000 O'Reilly Open Source Conventions, and was the program chair for the 10th International Python Conference. In addition, he co-wrote Learning Python (both editions) and serves as a director of the Python Software Foundation. David holds a B.S. in physics and a Ph.D. in cognitive science, both from Brown University.
- Item Weight : 1.9 pounds
- Paperback : 552 pages
- ISBN-10 : 0596002815
- ISBN-13 : 978-0596002817
- Product Dimensions : 7 x 1.11 x 9.19 inches
- Publisher : O'Reilly Media; Second Edition (January 2, 2004)
- Language: : English
- Best Sellers Rank: #925,740 in Books (See Top 100 in Books)
- Customer Reviews:
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
The rest of the review is about the second edition:
I would never try to use this book as a reference. It was not designed and it's not good for that.
It was designed as your first book on Python, especially if this is your first programming language. As such, it gives you a really thorough and extensive introduction written by a renowed authority. The parts on functional programming, Python's OOP and modules lay the solid foundation for the future Python programmer. Beware though: compared to similar "foundation" books in other languages' realms, this one is slow-paced, limited in scope, wordy and even redundant at times.
If you already know a language like C++, Java or Perl, and especially if you've already written some Python code, then this book is not your best choice: it will seem terribly slow paced, tedious, bloated and of no value as a reference (which is what an experienced programmer like you really needs most of the time). In this case, you could use a short and freely available tutorial like Guido's, then a good reference book like Python in a Nutshell and maybe some more advanced books like Python Cookbook and Python 2.1 Bible (provided there will be a new edition).
As an intermediate or experienced programmer, you may still benefit from Lutz's "textbook". You may want to skim quickly through the first 3 Parts (which make 180 pages of beginner's stuff you've learned in highschool, decorated with the occasional gem toward the end of some chapters), then slow down a bit for the rest of the book and pay special attention to chapters 14, 17, 18, 21, 22, 23, and 27. This book has too many chapters for my taste, btw.
Part VIII, written by another authority (David Ascher), is a little too short and still bad for reference. In the next edition, I hope it will be expanded to a reasonable level of detail. I found the coverage of regular expressions particularly disappointing -- probably because they are covered by Mr Lutz's other book, Programming Python, which was supposed to be your second book. The exercises at the end of each Part are not the most interesting and useful I know of.
It does two things very well. First, it gives you a good overview of the language. You can read the book front to back and it has a nice progression. You'll certainly know the basics if you do that.
Second, and probably more importantly, for those of us too impatient to read a book cover-to-cover, it serves as an excellent reference for beginners. When I started out there were all the little noob things that I found myself constantly having to look up. Like "how do you specify a comment?" or "how do you structure and if-block?" or "how to you get a substring out of a string". Very basic questions like this that many python books don't bother with because apparently they are too basic.
If there is a weakness, it's just that this book is rather small and only covers the very basics. So reading this book alone will certainly not make you a mighty python programmer, or even give you enough info to probably write something interesting. But this book definitely deserves a place on your bookshelf if you are starting out and need the basics.
After a point I realized that I was hardly re-using my code in Perl...i used to just write up a script everytime it beckoned. I also started finding it extremely hard to maintain and even understand code that i had written a few years back. Electrical Engineers are super efficient at getting something done but not always with programming elan and elegance!!
I decided to move to Python...and this book is an excellent start...though it sounds like it is for beginners...it is nice to review the initial stuff to contrast with perl and it is reasonably exhaustive. I have found it much easier to maintain code and other people in my lab have also started using my code as it is much easier to understand. The object-oriented approach is an extra-incentive to think more in terms of C++....code is in general clean and quite-efficient (not as much as C..since it is byte-code).
All electrical engineers who use a lot of shell scripting and aren't experts in programming, moving to python will definitely offer more flexibility and is much faster to implement than C or C++. And this is a pretty decent book (check out Van Rossum's tutorial or something on the web to get a feel).
Top reviews from other countries
I'm about 40% through the book and we've only just covered function calls, and nothing OO. There's only been 4 or 5 new concepts so far that aren't identical to other common languages.
The author does go some way towards saying "this is similar to the C idea of ..." or "those familiar with C++ will recognise the similarities...". But what would be really useful would be a big bar next to the few concepts that are fundamentally different, saying "!!!Python Specific!!!" or something.
Having said that, there's few typos and the writing style is reasonable. I'd like to give it 3.5 stars really.
eigentlich wollt ich mir dieses Buch nicht kaufen, da ich doch einige Kritiken las, die die erste Ausgabe 1999 gekauft hatten und mit der zweiten Auflage dann unzufrieden waren.
Aber für mich als Erstbetrachter der 2.Auflage bot sich eine total andere Sicht. Ich muss einfach sagen das die Aufteilung, die Formatierung, die Beispiele, der Umfang und die Gründlichkeit dieses Buch sehr wertvoll machen.
Man macht auf jeden fall einen gründlichen, interessanten Einstieg. Ich möchte gar keine Seite auslassen, es ist einfach zu spannend.
Habe schon Bücher über Perl, C++, Bash mir zugelegt aber dieses liegt einfach an der Spitze. Natürlich fliesst auch dabei ein dass Pythen übersichtlich und mächtig ist.
Also super gelungen und vor allem für Neulinge ( auch nicht ganz so neue ) die den ersten Band noch nicht gelesen haben absolut super.