Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.
Programming Python and over 300,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
49 used & new from $23.49

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 yours here.
 
  

Programming Python (Paperback)

by Mark Lutz (Author)
Key Phrases: active scripting, press enter, calculator program, System Examples, Sun Jun, Hello World (more...)
4.0 out of 5 stars See all reviews (7 customer reviews)

List Price: $59.99
Price: $37.79 & this item ships for FREE with Super Saver Shipping. Details
You Save: $22.20 (37%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

32 new from $33.55 17 used from $23.49
Also Available in: List Price: Our Price: Other Offers:
Kindle Edition (Kindle Book) $19.79
Paperback (Bargain Price) 13 used & new from $14.54
Paperback (2) $59.99 $41.99 25 used & new from $5.50
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Best Value

Buy Programming Python and get Essential SQLAlchemy at an additional 5% off Amazon.com's everyday low price.

Programming Python + Essential SQLAlchemy
Buy Together Today: $59.73

Show availability and shipping details

  • This item: Programming Python

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Essential SQLAlchemy

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details


Customers Who Bought This Item Also Bought


Editorial Reviews

Amazon.com Review
Completely revised and improved, the second edition of Programming Python is an excellent compendium of material geared toward the more knowledgeable Python developer. It includes dozens of reusable scripts for common scripting tasks, and is one of the best available sources of information for this popular object-oriented scripting language.

In over 1,200 pages of material, this book offers an extremely comprehensive guide to Python development. Though his book is densely packed with information, Mark Lutz is a lively and witty writer whose focus is on getting things done using the natural strengths of the Python language. To that end, after an introduction and history of the language, the book shows how to use Python for performing automated tasks with files and directories (for example, for doing backups both locally and on Web servers). Not only will this book teach you more about Python, but it will also give you a library of code that you can use as is or adapt for your own projects.

The text covers every conceivable facet of Python and the language's support for networking, files and directories, task management, and even persistence (through its support for shelves). Complete Python programs show how to create e-mail clients, do reporting, and create Web applications (for an online errata database). Chapters on doing graphics programming in Python, as well as coverage of both built-in and custom data structures, are especially good. Because Python is often used for automating installations (in some Linux distributions, for instance), readers will appreciate the sample code and tips for using Python to create bulletproof installs.

Later sections show how get Python to work with C, Java (through JPython), and other languages. The book concludes with useful reference sections summarizing key aspects of Python, like its revision history, relationship to C++, and other material. There aren't many titles on Python, and fans of this up-and-coming language are lucky to have such a solid tutorial and guide available in Programming Python. Perfect for those with just a little previous exposure to the language, it's all you need to master Python in-depth and tap its considerable power for virtually any software project. --Richard Dragan

Topics covered:

  • Introduction to Python
  • Basic system scripts with Python (including file and directory tools)
  • Working with processes and threads
  • Pipes and signals
  • Sample scripts for system and Web utilities (including backing up files, program launching, replicating and managing directories)
  • Graphical user interface design in Python (including the Tkinter module)
  • Widgets and basic components
  • Layout options
  • Event handling
  • GUI examples (including a working text editor, image viewer, and clock)
  • Network scripting (sockets, FTP, and e-mail clients)
  • Server-side scripting
  • Sample server scripts for an online errata database
  • Python on the Internet (including Zope, JPython, and XML tools)
  • Databases and persistence in Python (including pickled objects and shelf files)
  • Custom and built-in data structures in Python
  • Text and string handling
  • C integration with Python (including the SWIG module)
  • Embedding Python calls within C
  • Hints for using Python in real projects
  • Reference to recent changes to Python
  • Python vs. C++ quick-start guide
--This text refers to the Paperback edition.

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

See all Editorial Reviews

Product Details

  • Paperback: 1596 pages
  • Publisher: O'Reilly Media, Inc.; 3 edition (August 23, 2006)
  • Language: English
  • ISBN-10: 0596009259
  • ISBN-13: 978-0596009250
  • Product Dimensions: 9.1 x 7 x 2.5 inches
  • Shipping Weight: 4.4 pounds (View shipping rates and policies)
  • Average Customer Review: 4.0 out of 5 stars See all reviews (7 customer reviews)
  • Amazon.com Sales Rank: #17,061 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #12 in  Books > Computers & Internet > Programming > Languages & Tools > Python
    #53 in  Books > Computers & Internet > Programming > Software Design, Testing & Engineering > Object-Oriented Design

Inside This Book (learn more)


What Do Customers Ultimately 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.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(16)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

 

Customer Reviews

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

 
42 of 47 people found the following review helpful:
2.0 out of 5 stars poorly organized introduction to python, November 9, 1999
By A Customer
This review is from: Programming Python (Paperback)
I thought this would be similar to Programming Perl, both a good introduction to the language *and* a decent reference. Unfortunately, it does neither task well.

It fails as a reference because 1) it is poorly organized: information on each concept (printing, for example), is scattered throughout the book; 2) the index is atrocious. There is no way to find the key description of any part of the language using the index, and I often find important concepts in the book that are not in the index.

The poor index, combined with the scattered organization, means I'm constantly frustrated when I want to look up some particular element of the language.

As an introduction, the book is OK. I would have liked to see some meatier code examples. As another reviewer mentioned, the examples are more about the syntax of the language than actual applications that you might learn from. This is a style point -- if you learn best from large chunks of example code, this is not the book for you.

Also, key modules (sys and math, for example) are barely mentioned.

--Pat / zippy@cs.brandeis.edu

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
6 of 6 people found the following review helpful:
5.0 out of 5 stars A great resource for the python programmer., November 4, 2008
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.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
2 of 2 people found the following review helpful:
4.0 out of 5 stars Excellent, but needs updating, December 21, 2008
By D. Rosario "linuxrules" (Staten Island, NY United States) - See all my reviews
(REAL NAME)   
I can't really complain about the book, except that newer 2.5+ libraries are not covered (e.g. the "subprocess" module"). It isn't meant to be comprehensive in the sense that you won't learn everything, but it covers enough for one to become a good python programmer.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


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

4.0 out of 5 stars Definitely not a "get started quick" guide
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... Read more
Published 8 days ago by Joshua Davies

4.0 out of 5 stars useful book
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. Read more
Published 1 month ago by Jeff Sakurai

4.0 out of 5 stars Good companion to the "In a Nutshell" book
It's a good book on it's own, but together with the "In a Nutshell" series, it makes a pretty good overall reference.
Published 5 months ago by David A. Schultz

5.0 out of 5 stars A happily recieved gift
I bought this book as a gift for my husband, and he was excited to recieve it. I believe he has found it informative and more in depth than his first Python book.
Published 7 months ago by lady_lyn

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

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


Active discussions in related forums
  Discussion Replies Latest Post
C# or Java? 32 10 days ago
   


Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Up to 50% Off Hot Brands in Skin Care

Skin Care Sale
Get favorite name brands in skin care for face, body, and sun care, now up to 50% off at the skin care sale, only from Amazon Beauty.

Shop all skin care

 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

Shut Out the Cold

Shop for Door Sweeps
While weather stripping seals the top and sides of a door, door sweeps protect the threshold.

Shop all door sweeps

 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Free
Free by Chris Anderson
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Glenn Beck's Common Sense

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates