Buy new:
$58.55$58.55
Arrives:
Wednesday, July 26
Ships from: Amazon.com Sold by: Amazon.com
Buy used: $39.67
Other Sellers on Amazon
+ $9.99 shipping
80% positive over last 12 months
+ $31.99 shipping
82% positive over last 12 months
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required. Learn more
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Learning Python, 5th Edition Fifth Edition
| Price | New from | Used from |
- Kindle
$16.57 - $47.99 Read with Our Free App - Paperback
$39.67 - $58.5556 Used from $28.05 25 New from $48.20
Get a comprehensive, in-depth introduction to the core Python language with this hands-on book. Based on author Mark Lutz’s popular training course, this updated fifth edition will help you quickly write efficient, high-quality code with Python. It’s an ideal way to begin, whether you’re new to programming or a professional developer versed in other languages.
Complete with quizzes, exercises, and helpful illustrations, this easy-to-follow, self-paced tutorial gets you started with both Python 2.7 and 3.3— the latest releases in the 3.X and 2.X lines—plus all other releases in common use today. You’ll also learn some advanced language features that recently have become more common in Python code.
- Explore Python’s major built-in object types such as numbers, lists, and dictionaries
- Create and process objects with Python statements, and learn Python’s general syntax model
- Use functions to avoid code redundancy and package code for reuse
- Organize statements, functions, and other tools into larger components with modules
- Dive into classes: Python’s object-oriented programming tool for structuring code
- Write large programs with Python’s exception-handling model and development tools
- Learn advanced Python tools, including decorators, descriptors, metaclasses, and Unicode processing
- ISBN-101449355730
- ISBN-13978-1449355739
- EditionFifth
- PublisherO'Reilly Media
- Publication dateJuly 30, 2013
- LanguageEnglish
- Dimensions7 x 2.8 x 9.19 inches
- Print length1643 pages
Frequently bought together

More items to explore
Introduction to Machine Learning with Python: A Guide for Data ScientistsAndreas MüllerPaperback$11.03 shipping
Python for Everybody: Exploring Data in Python 3Dr. Charles Russell SeverancePaperback$10.68 shipping
Every object in Python is classified as either immutable (unchangeable) or not. In terms of the core types, numbers, strings, and tuples are immutable; lists, dictionaries, and sets are notHighlighted by 639 Kindle readers
Their general form, X[I:J], means “give me everything in X from offset I up to but not including offset J.”Highlighted by 476 Kindle readers
In simple terms, every file of Python source code whose name ends in a .py extension is a module.Highlighted by 399 Kindle readers
From the brand
-
-
Sharing the knowledge of experts
O'Reilly's mission is to change the world by sharing the knowledge of innovators. For over 40 years, we've inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
Editorial Reviews
About the Author
Mark is the author of the three O’Reilly books: Learning Python, Programming Python, and Python Pocket Reference, all currently in fourth or fifth editions. He has been using and promoting Python since 1992, started writing Python books in 1995, and began teaching Python classes in 1997. As of Spring 2013, Mark has instructed 260 Python training sessions, taught roughly 4,000 students in live classes, and written Python books that have sold 400,000 units and been translated to at least a dozen languages.
Together, his two decades of Python efforts have helped to establish it as one of the most widely used programming languages in the world today. In addition, Mark has been in the software field for 30 years. He holds BS and MS degrees in computer science from the University of Wisconsin where he explored implementations of the Prolog language, and over his career has worked as a professional software developer on compilers, programming tools, scripting applications, and assorted client/server systems.
Mark maintains a training website (http://learning-python.com) and an additional book support site on the Web (http://www.rmi.net/~lutz).
Product details
- Publisher : O'Reilly Media; Fifth edition (July 30, 2013)
- Language : English
- Paperback : 1643 pages
- ISBN-10 : 1449355730
- ISBN-13 : 978-1449355739
- Item Weight : 4.95 pounds
- Dimensions : 7 x 2.8 x 9.19 inches
- Best Sellers Rank: #25,551 in Books (See Top 100 in Books)
- #10 in Object-Oriented Design
- #22 in Introductory & Beginning Programming
- #25 in Python Programming
- Customer Reviews:
Important information
To report an issue with this product, click here.
About the author

Mark Lutz is the author of Python's classic and foundational texts, a former trainer with two decades of experience teaching Python to newcomers, and one of the people responsible for the prominence that Python enjoys today. For more info, see the author's books and programming site at learning-python.com.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonReviewed in the United States on February 15, 2020
-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
and WOW. This book was absolutely amazing. I read it for hours everyday from when I purchased it. I finished the book 3 weeks later. I can say this book was monumental in what it taught me. (And it’s size too - LOL - the thing is massive but so worth the read)
He teaches everything so simple and easy to read. Go through his lines of every example and try to understand what is happening. You’ll find by about page 500 everything is slowly starting to make sense. By page 1000 you’ll be thinking wow I can read and understand each example of code (even the longer ones). You start seeing how programs are put together, how every single line has a purpose. The syntax, the wording, the placement , the white space. I’ve thoroughly enjoyed learning programming from this book. It has enabled me to complete an online python course. I love solving problems on my own - each one is like a puzzle and I get a little joy when I successfully complete the challenge. Thank you Mark - for allowing me to experience this journey. I surely would have given up had I not found this book.
This book is like sitting directly in his college lectures for a semester. Only I didn’t have to spend 4 months to get the information. I could learn as fast as I could read. All told it was a 3 week book for me and it was very very very worth it. I’ve purchased his second book (Programming Python) and hope it will be just as good as this one.
If you’re serious about learning python than stop looking further. This needs to be a book you buy.
The contents are expansive and in depth without overloading you. It’s taught in a simple easy to understand way. And the appendix is well laid out so after you finish reading it and get into the nitty gritty of programming you can always know exactly where to look in the book to get help on how to do something. A+++.
Again, thank you Mark.
The best thing about this book is that it explain the nuances of the language by giving multiple examples. So it does explains it in a complete manner. A lot of other resources will touch upon a topic and then glance over it. I often wondered.. what about this... so a lot of other resources expect you to test the other cases out which in most circumstance will be okay, but in others, you are still left wondering "why?". This book does not do that. In fact, I almost didn't need to try the examples on the interactive python command line because it was so thorough.
This book is not for the beginner. You will get lost among the trees in the forest because there is so much information in this book. If you are impatient or need to start coding right away, you really won't be able to do this with Learning Python. LPHW and DP3 are much better at getting you up and running. But to write error free code, you have to understand the nuances of the language which Learning Python teaches you. Learning Python the Hard Way (free on the internet) and Dive into Python 3 (also free) are great resources to get introduced to the language. I would recommend both before you delve into this book. But once you get an understand of the basics of python, this book will fill in the missing details.
As a disclaimer, I have only been reading this book for a day. I have already read 300 pages. A lot of it was review. But I learned a lot of new stuff as well that filled in the gaps. I have not read the section on regex or the more advanced sections yet so this review is not complete. But so far, I am impressed on the thoroughness of the subject matter.
The main grip I have is that I bought the kindle version. If I read it in a linear fashion the material seem to flow nicely. But when I come to certain sections, I need to jump around. You find this a lot with any technical book. The kindle version makes this difficult because I cannot "easily" keep track of what I was reading so I get side tracked a lot. I also cannot effectively add notes (yes, I know I can add notes). I ended up using 4 devices to read this book just to keep track of where I was. I may get the hardcopy so that I have an easy quick reference book to look at later at my desk. With a hard copy, I use bookmarkers that I can quickly page to. I know about the kindle bookmarks but they are cumbersome to use. Fortunately, its hard to beat the fact that I can carry this book on my phone if I wanted to. So I would rate the kindle version 3 stars.
Overall, I would buy this again on kindle.
Top reviews from other countries
Over a period of 4 months, I've brought two of these books. One for myself and one for my son who wanted to borrow it (I could part with my own copy, so I brought him one of his own).
If not, it is completely 5 stars and beyond.












