Python Cookbook, 2nd Edition
by Alex Martelli; Anna Martelli Ravenscroft; David Ascher
Python in a Nutshell, 2nd Edition
by Alex Martelli
Programming Perl, 3rd Edition
by Larry Wall; Tom Christiansen; Jon Orwant
Learning Python, 4th Edition
by Mark Lutz
Python Essential Reference, Fourth Edition
by David M. Beazley
Regular Expressions Cookbook
by Jan Goyvaerts; Steven Levithan
Rapid GUI Programming with Python and Qt: The Definitive Guide to PyQt Programming
by Mark Summerfield
Python Cookbook, 2nd Edition
by Alex Martelli; Anna Martelli Ravenscroft; David Ascher
Programming Python focuses on advanced uses of the Python programming/scripting language, which has evolved from an emerging language of interest primarily to pioneers, to a widely accepted tool that traditional programmers use for real day-to-day development tasks. With Python, you can do almost anything you can do with C++; but Python is an interpreted language designed for rapid application development and deployment. Among other things, Python supports object-oriented programming; a remarkably simple, readable, and maintainable syntax; integration with C components; and a vast collection of pre-coded interfaces and utilities. As Python has grown to embrace developers on a number of different platforms (Unix, Linux, Windows, Mac), companies have taken notice and are adopting Python for their products. It has shown up animating the latest Star Wars movie, serving up maps and directories on the Internet, guiding users through Linux installations, testing chips and boards, managing Internet discussion forums, scripting online games, and even scripting wireless products. Programming Python is the most comprehensive resource for advanced Python programmers available today. Reviewed and endorsed by Python creator Guido van Rossum, who also provides the foreword, this book zeroes in on real-world Python applications. It's been updated for Python 2.0 and covers Internet scripting, systems programming, Tkinter GUIs, C integration domains, and new Python tools and applications. Among them: IDLE, JYthon, Active Scripting and COM extensions, Zope, PSP server pages, restricted execution mode, the HTMLgen and SWIG code generators, thread support, CGI and Internet protocol modules. Such applications are the heart and soul of this second edition. Veteran O'Reilly author Mark Lutz has included a platform-neutral CD-ROM with book examples and various Python-related packages, including the full Python 2.0 source code distribution.
Average Amazon.com® Rating: ![]()
![]()
![]()
![]()
Based on 9 Ratings
Definitely not a "get started quick" guide - 2009-07-08
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
Wow. I have mixed feelings about this book. On the one hand, it's enormous. It took me almost a year to go through the whole thing, although I did stop and work through every single example. On the other hand, like "Learning Python", there are a lot of sidetracks that seem targeted at beginners which I felt could have easily been left out.
This book should be considered volume 2 of "Learning Python". "Learning Python" (or "volume 1") covers the core Python language in quite a bit of detail, but doesn't talk much about the library. "Programming Python", in turn, covers the Python library, but doesn't talk about the syntax of the language (you're expected to know all that already).
Even with 1500 pages, it would be impossible to do justice to the _entire_ Python library, so a useful subset is covered. The book is actually divided into seven subsections, and sections 2 (System Programming), 3 (GUI Programming), 4 (Internet Programming), and 5 (Tools and techniques) could each have legitimately been a book in their own right. Part 6 (Integration) was a bit weak compared to the others - it covered only two chapters, and was the only section of the book that included incomplete examples. Of course, Parts 1 & 7 were an introduction and an epilogue.
In terms of the Python standard library, "String Services", "File and Directory Access", "Data Persistence", "Generic Operating System Services", "Interprocess Communcation and Networking", "Internet Protocols and Support", and "Graphical User Interfaces" were covered indepth. "Internet Data Handling" and "Structured Markup Tools" were both touched on, but not really examined. Other Python-related topics such as Jython, Zope, ZODB and SWIG were discussed as well, along with examples.
The main strength of this book was its examples. I prefer to manually type each source example and run them, rather than downloading them from a web site - although it takes longer to work through the book that way, I end up retaining quite a bit more. For that reason, I'm frustrated by programming books that include incomplete examples (or at least not enough that I can reasonably fill in the blanks). Fortunately, this wasn't such a book - until the very last chapter, all of the examples were complete, although quite a few of them build on previous examples (sometimes a bit pointlessly, such as his GUIMixin "framework"). Chapter 15, for example, is pretty much nothing but a listing of a complete, working e-mail GUI client - I was actually able to use this to check my own e-mail (POP only... but still!)
Section 3 on GUI programming is the best coverage on TKinter available anywhere. This section alone is worth the price of the book, if you're ever going to touch TKinter. He doesn't cover Tix, unfortunately, but I believe that every single TKinter widget is discussed and demonstrated in example code. PMW and wxPython are mentioned, but just as in, "they exist" - this books perspective on GUI programming is TKinter only. Still, that's plenty to fill up 5 chapters.
This _is_ a good, useful, book - I got a lot more out of this than I got out of "Learning Python", but it can be a bit meandering at times - for its volume, I expected it to cover a lot more ground, although what the author does decide to cover, he covers in exquisite detail, including historical perspectives, real-world "war stories" and workable examples.
Good companion to the "In a Nutshell" book - 2009-02-10
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
It's a good book on it's own, but together with the "In a Nutshell" series, it makes a pretty good overall reference.
Huge book - 2009-08-06
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
This book is one of the biggest books I own. It's amazing that the author was able to fit actual Python code on almost every page. I used to own the first version and I have to say it's definitely gotten better.
good but irrelevant - 2009-07-19
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
The best way to learn python these days is to jump onto [...] and look thru the docs. Lutz provides a decent tutorial-based approach, but my personal learning style works better studying the api.
For those used to Programming Perl, I'd suggest going straight to the python website.
useful book - 2009-06-05
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
i was using this book quite heavily for reference when i was programming in python. it was very useful and easy to find what i needed. the book was slightly worn, but i guess that is what is expected considering it was a used book.
Some information on this page was provided using data from Amazon.com®. View at Amazon >