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



or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $19.79 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
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.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Programming Python [Paperback]

Mark Lutz
3.2 out of 5 stars  See all reviews (28 customer reviews)

Buy New
$36.27 & FREE Shipping. Details
Rent
$32.70 & this item ships for FREE with Super Saver Shipping. Details
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
In Stock.
Rented by RentU and Fulfilled by Amazon.
Want it tomorrow, June 21? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Kindle Edition $29.63  
Paperback $36.27  
Rent Your Textbooks
Save up to 70% when you rent your textbooks on Amazon. Keep your textbook rentals for a semester and rental return shipping is free.

Book Description

January 7, 2011 0596158106 978-0596158101 Fourth Edition

If you've mastered Python's fundamentals, you're ready to start using it to get real work done. Programming Python will show you how, with in-depth tutorials on the language's primary application domains: system administration, GUIs, and the Web. You'll also explore how Python is used in databases, networking, front-end scripting layers, text processing, and more. This book focuses on commonly used tools and libraries to give you a comprehensive understanding of Python’s many roles in practical, real-world programming.

You'll learn language syntax and programming techniques in a clear and concise manner, with lots of examples that illustrate both correct usage and common idioms. Completely updated for version 3.x, Programming Python also delves into the language as a software development tool, with many code examples scaled specifically for that purpose.

Topics include:

  • Quick Python tour: Build a simple demo that includes data representation, object-oriented programming, object persistence, GUIs, and website basics
  • System programming: Explore system interface tools and techniques for command-line scripting, processing files and folders, running programs in parallel, and more
  • GUI programming: Learn to use Python’s tkinter widget library
  • Internet programming: Access client-side network protocols and email tools, use CGI scripts, and learn website implementation techniques
  • More ways to apply Python: Implement data structures, parse text-based information, interface with databases, and extend and embed Python

Frequently Bought Together

Programming Python + Python Pocket Reference: Python in Your Pocket (Pocket Reference (O'Reilly))
Price for both: $48.42

Buy the selected items together


Editorial Reviews

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 has been a software developer for 25 years, and is the author of O'Reilly's Programming Python, 3rd Edition and Python Pocket Reference, 3rd Edition.


Product Details

  • Paperback: 1632 pages
  • Publisher: O'Reilly Media; Fourth Edition edition (January 7, 2011)
  • Language: English
  • ISBN-10: 0596158106
  • ISBN-13: 978-0596158101
  • Product Dimensions: 7 x 2.4 x 9.1 inches
  • Shipping Weight: 5 pounds (View shipping rates and policies)
  • Average Customer Review: 3.2 out of 5 stars  See all reviews (28 customer reviews)
  • Amazon Best Sellers Rank: #19,966 in Books (See Top 100 in Books)

More 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. Mark can be reached on the web at www.rmi.net.

Customer Reviews

The information is very detailed, and accurate. Willy  |  4 reviewers made a similar statement
It is accurate and up to date, and for this reason I give it 2 stars instead of one. Luciano Ramalho  |  2 reviewers made a similar statement
Perhaps Python books tend to be like the language....a bit verbose. Rex Barker  |  3 reviewers made a similar statement
Most Helpful Customer Reviews
46 of 50 people found the following review helpful
4.0 out of 5 stars Can A Reference Book Be Too Thorough? January 9, 2011
By B.L.
Format:Paperback
Programming Python is a book designed to take people who know Python and guide them on how to actually make it do things in the real world. It's important to note that the material in here (In the December 2010 4th edition) is for 3.X versions of Python and only deals with 2.X to the extent that the versions overlap, so you'll be better off with an earlier edition of the book (or another book designed to deal thoroughly with both versions) if you're working on a project that needs to work uusing earlier versions of Python.

The amount of information here is gigantic, and includes sample code to some degree on practically every page. I was working from an ebook that O'Reilly gave me access to as a review copy, and I can imagine how unwieldy the actual physical book must be given the 1600+ page count. If you prefer to buy hard copies of books, this is definitely not going to be the quick reference book that you carry around in your back pocket.

Since it's so focused on how to actually use Python code to accomplish specific tasks, the best thing about Programming Python is that it comes from O'Reilly. It shares their usual policy for programming books that you're welcome to reuse the code samples in your own projects, and the publisher also provides errata for all of their books at their website.

If you need a guide on how to do just about anything from creating a GUI to interfacing with an SQL database, Programming Python is a remarkably thorough resource.
Was this review helpful to you?
29 of 31 people found the following review helpful
By Antonio
Format:Paperback
I've programmed in Python before, but haven't used it for a couple of years. I was looking for a refresher, as well as some example applications.

Firstly note that this book isn't an introduction to Python, nor is it a reference. The author makes that clear in the preface, instead referring you to the other titles he has written. Also the book covers Python 3.x. Perhaps those who are interested in earlier versions should get the previous edition of the book. On the other hand while there are some changes between the two versions, reading the book wouldn't be a waste of time if you are interested in Python 2.x

I liked this book in the sense that if I looked up a particular topic, I often found his discussion reasonable and could get some useful idiomatic python code to use.

On the other hand, the author intends this book as a tutorial. When I tried to read through it as a tutorial I just found it falling a bit flat. Also at around 1600 pages I doubt I would have the endurance to read through it from beginning to end.

I guess the main problem with the book is that you are interested in one particular area to use Python, say web development, or interfacing with databases this book would probably have insufficient detail, and you would want a specialist book in that area. Also I found the authors writing style somewhat verbose. Another issue is that those people who want to build a GUI for instance may not be interested in his choice of tool Tkinter.

In conclusion, this book does have some useful information, I didn't really like it. While it is hard to pin down the reasons for my dislike, I guess it is because he tries to cover so many topics, that not all of them are covered that well.
... Read more ›
Comment | 
Was this review helpful to you?
25 of 29 people found the following review helpful
Format:Paperback
I own more than 100 O'Reilly books and dozens of Python books, since I've been a Python user, instructor and evangelist for 13 years now. The first edition of this book was the first book published about Python by O'Reilly, and it was often compared to Programming Perl at the time. The comparison was very bad for this book: it is much longer, yet shallower than the Camel Book; it tries hard to be funny, but Larry Wall's jokes are less frequent but more effective; it is poorly edited, while the Camel Book is a gem and a true classic.

The pace is excruciatingly slow for a seasoned programmer of any language, but in spite of long and repetitive explanations this book is not accessible to beginners because of excessive, needless jargon and attention to irrelevant details when first introducing language features, making the narrative hard to digest.

It is accurate and up to date, and for this reason I give it 2 stars instead of one. But anyone looking for a Python book will be better served looking elsewhere. From O'Reilly, Alex Martelli's Python in a Nutshell is the best there is to really understand how the language works and how it should be used, even if it is outdated. Python Essential Reference by David Beazley is excellent too, and the 4th edition is very up to date. The Dive into Python books (Python 2 and Python 3 versions exist) are also excellent, and free as in speech. The Quick Python Book by Manning is also good. In fact, every other Python book that I know is a better buy than this one, which probably sells mainly due to the O'Reilly brand and because it was the first. BTW, Martelli, on p. 12 of Python in a Nutshell, 2e, refers readers to nine other books by O'Reilly and other publishers, including two others by Mark Lutz. This is one is not among the recommendations.
... Read more ›
Comment | 
Was this review helpful to you?
18 of 21 people found the following review helpful
Format:Paperback
For those looking to further their Python abilities, Programming Python by Mark Lutz is a great tool in achieving that goal. If you're new to programming and trying to learn Python, you'll want to start with Learning Python by Mark Lutz as that will give you the necessary foundation. Then you can move to this one.

I was interested in learning the language and didn't realize there was a Learning Python so I got Programming Python instead. Luckily, I have experience with a couple of languages so I was able to go through the book and learn what I needed to know. There are many good examples given that explain what you are trying to learn. As with other O'Reilly books, this also has plenty of code to help you through all the topics covered in the book. The index is well done and is great as a reference for later on when you need to look something up in a pinch.

What I found really interesting is Chapter 20 about the integration of Python with C. Seeing that a lot of industry uses C for a lot of operational systems, that chapter was particularly useful as it helps to learn how to interface the two languages together. I have worked primarily with MATLAB throughout school and work. MATLAB is also able to interface with C and it's great, but expensive. Python is a great open source language so it allows anyone on a tight budget to do similar things as MATLAB and the ability to interface with C is great and this chapter will get you going on that.

I highly recommend this book to anyone wanting to delve further into Python. If you have prior programming experience, especailly in OOP, then you should be fine with this. If you don't have that experience, like I said, start with Learning Python. You'll be better off that way.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
1.0 out of 5 stars Do not buy this book if you are a beginner or intermediate
This guy got to be kidding himself if he thinks this book is worth it. Its written like a history book and all he talks about is "spam", "spam", "spam". Read more
Published 2 months ago by alpha sanneh
4.0 out of 5 stars Very good but not easy.
Very good but not easy. English is not my native language, so it's not easy to understand everything at the first time.
Published 2 months ago by Rafal
1.0 out of 5 stars Disappointing
This book stands out as being the least useful technology book I've ever purchased, that's not an exaggeration, and I've purchased a lot. Read more
Published 2 months ago by cclauson
4.0 out of 5 stars A good book but with lots of stuff that you better lookup online
The author is awesome in explaining stuff well, so I am glad I got the book. It feels however as just a collection of tutorials on various python built-in or additional libraries... Read more
Published 5 months ago by mgoerner
3.0 out of 5 stars Eclectic, rambling at times
The book is interesting, but it trys to cover too many different subjects without being that well organized. Read more
Published 5 months ago by Rex Barker
3.0 out of 5 stars Hey ...it's Python...
Have and use this book only if you've become or are very proficient at Python. Not a beginners book. Read more
Published 5 months ago by E. Mack
5.0 out of 5 stars Why I bought this book.
This is a great book. The information from the first page to the last was easy to follow and the flow of the material was easy to follow. Read more
Published 7 months ago by Sam Jowers
1.0 out of 5 stars Concise?
I became interested in Python because of the well-designed and concise approach. How can a compact language has a book with 1600+ pages? In resume, lenghty, boring and unorganized.
Published 9 months ago by Daniel Bolgheroni
2.0 out of 5 stars Verbose and time-consuming
I don't know who this book is for. If you are a programmer with solid understanding of a similar language, then this book will bore you to tears since Lutz is moving incredibly... Read more
Published 12 months ago by Bumblebee
3.0 out of 5 stars Should be 2 books
I recently purchased the book, and while it does cover a great deal of topics and the content appears well explained - the book is just too big. Read more
Published 13 months ago by P. Sutherland
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?


Forums

Have something you'd like to share about this product?
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Search Customer Discussions
Search all Amazon discussions


So You'd Like to...



Look for Similar Items by Category