Programming Python and over one million other books are available for Amazon Kindle. Learn more

Kindle Edition
 
   
Have one to sell? Sell yours here
Programming Python
 
 
Start reading Programming Python on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Programming Python [Paperback]

Mark Lutz (Author)
3.6 out of 5 stars  See all reviews (14 customer reviews)


Available from these sellers.


Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $38.39  
Paperback --  
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.
There is a newer edition of this item:
Programming Python Programming Python 3.4 out of 5 stars (15)
$38.21
In Stock.

Book Description

0596009259 978-0596009250 August 30, 2006 3rd

Already the industry standard for Python users, Programming Python from O'Reilly just got even better. This third edition has been updated to reflect current best practices and the abundance of changes introduced by the latest version of the language, Python 2.5.

Whether you're a novice or an advanced practitioner, you'll find this refreshed book more than lives up to its reputation. Programming Python, 3rd Edition, teaches you the right way to code. It explains Python language syntax and programming techniques in a clear and concise manner, with numerous examples that illustrate both correct usage and common idioms. By reading this comprehensive guide, you'll learn how to apply Python in real-world problem domains such as:

  • GUI programming
  • Internet scripting
  • Parallel processing
  • Database management
  • Networked applications

Programming Python, Third Edition covers each of these target domains gradually, beginning with in-depth discussions of core concepts and then progressing toward complete programs. Large examples do appear, but only after you've learned enough to understand their techniques and code.

Along the way, you'll also learn how to use the Python language in realistically scaled programs--concepts such as Object-Oriented Programming (OOP) and code reuse are recurring side themes throughout this text. If you're interested in Python programming, then this O'Reilly classic needs to be within arm's reach. The wealth of practical advice, snippets of code, and patterns of program design can all be put into use on a daily basis--making your life easier and more productive.

Reviews of the second edition:

"...about as comprehensive as any book can be."
--Dr. Dobb's Journal

"If the language had manuals, they would undoubtedly be the texts from O'Reilly...'Learning Python' and 'Programming Python' are definitive treatments."
--SD Times



Editorial Reviews

Review

"It's the industry standard publication on Python, but don't be put off if you're a beginner. It takes a lot of shelf space, but it's worth it!" .NET, February 2007

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 is also the author of O'Reilly's Programming Python and Python Pocket Reference, and Learning Python (all in 4th Editions). Mark can be reached on the web at www.rmi.net/~lutz.


Product Details

  • Paperback: 1552 pages
  • Publisher: O'Reilly Media; 3rd edition (August 30, 2006)
  • Language: English
  • ISBN-10: 0596009259
  • ISBN-13: 978-0596009250
  • Product Dimensions: 9.1 x 7.1 x 2.5 inches
  • Shipping Weight: 4.3 pounds
  • Average Customer Review: 3.6 out of 5 stars  See all reviews (14 customer reviews)
  • Amazon Best Sellers Rank: #186,227 in Books (See Top 100 in Books)

 

Customer Reviews

14 Reviews
5 star:
 (5)
4 star:
 (4)
3 star:
 (1)
2 star:
 (2)
1 star:
 (2)
 
 
 
 
 
Average Customer Review
3.6 out of 5 stars (14 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

28 of 29 people found the following review helpful:
4.0 out of 5 stars Definitely not a "get started quick" guide, July 8, 2009
By 
Joshua Davies (Dallas, TX United States) - See all my reviews
(VINE VOICE)    (REAL NAME)   
This review is from: Programming Python (Paperback)
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.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


10 of 10 people found the following review helpful:
5.0 out of 5 stars A great resource for the python programmer., November 4, 2008
This review is from: Programming Python (Paperback)
The only thing I regret about buying this book is not getting the hardcover version - it's a huge, comprehensive book.

It's got the best section on GUI programming in python that I've seen so far, and all the examples given throughout the book are practical, useful thing - unlike a lot of other programming books that only give you proofs-of-concept.

If you're already comfortable with python, and are looking to solidify your knowledge of it to a great degree, this is the book for you.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


6 of 7 people found the following review helpful:
3.0 out of 5 stars Good enough I suppose, February 15, 2008
By 
orangekay (San Francisco, CA United States) - See all my reviews
(VINE VOICE)   
Amazon Verified Purchase(What's this?)
This review is from: Programming Python (Paperback)
One thing I really wish O'Reilly would have made clear on the cover is the version of Python which was current at the time of publication. In this case, it's 2.4, so if you're looking for information on things like function decorators or the new generator abilities that 2.5 brought along, you're going to be as disappointed as I was.

Aside from the fact that some of the information is dated, it's still a good overview of practical solutions to realistic problems which can be solved in the language. It does tend to spend way too much time developing TkInter GUIs (which I do not personally care about one bit) and overusing the usual array of extremely unfunny Monty Python references (which I personally stopped caring about around 1984). If you cut out both of these things the book would probably require about half as much paper per copy, and it'd be a good deal more digestible to boot. There's also lots of Windows-specific silliness and the author continues to operate under the assumption that OS X does not exist (every mention of the Mac platform refers to information that hasn't been accurate for nearly 10 years at this point).
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
active scripting, press enter, calculator program, text editor program, remote dir, web application framework, fetching email, regular expression pattern matching, socket programming, redirecting streams, binary search trees, def makewidgets, cygwin makefile, parse form data print, glob import glob, send window updates, webbrowser module, mainloop call, import argv, poplib module, python lutz, book examples distribution, import getpass, locally running web server, urllib module
Key Phrases - Capitalized Phrases (CAPs): (learn more)
System Examples, Sun Jun, Hello World, Tkinter Tour, Done Figure, Internet Explorer, Transferring Files, Mozilla Firefox, Server-Side Scripting, Client-Side Scripting Example, Program Files, Client Example, Learning Curve, Sneak Preview, Programs Example, Visual Basic, Parallel System Tools, Wed Jun, Automated Program Launchers, Database Interfaces, Textand Language Example, Thu Mar, Sue Jones, Persistent Object Viewer, Advanced Internet Topics
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:


What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(24)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject