Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows.
Buy new:
-13% $65.50
FREE delivery Friday, February 20
Ships from: Amazon
Sold by: ylnztkbrsyhtycmzvrdr,clsknlmk
$65.50 with 13 percent savings
List Price: $74.99 Image
FREE delivery Friday, February 20
Or Prime members get FREE delivery Tuesday, February 17.
Only 1 left in stock - order soon.
$$65.50 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$65.50
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon
Amazon
Ships from
Amazon
Returns
FREE 30-day refund/replacement
FREE 30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Read full return policy
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
{{numberOfItems}} item(s) added for {{price}}
$10.26
Get Fast, Free Shipping with Amazon Prime FREE Returns
Good condition. Can contain writing and/or highlighting. Good condition. Can contain writing and/or highlighting. See less
FREE delivery Friday, February 20 on orders shipped by Amazon over $35
Or Prime members get FREE delivery Tuesday, February 17.
Only 1 left in stock - order soon.
$$65.50 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$65.50
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
{{numberOfItems}} item(s) added for {{price}}
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the authors

Get new release updates & improved recommendations
Something went wrong. Please try your request again later.

Learning Python, 5th Edition 5th Edition

4.5 out of 5 stars (1,972)

{"desktop_buybox_group_1":[{"displayPrice":"$65.50","priceAmount":65.50,"currencySymbol":"$","integerValue":"65","decimalSeparator":".","fractionalValue":"50","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"8%2F9ZVevgkmAJh8%2FyOFDhD9xccLGDWHZR2H31qELdGZxJrRFe%2B%2FwAgMaI%2B0E4tVpuaZgOcFcpSZE%2F7VfafDfh6h2Z0q8DUPdddKq6TGSKS43rWJmFR7J4QxoBdxnwCClqLaRsVP%2FfiYhPqf%2FI2nytToG8Ifkhk%2Bn5cxAWxllAwMLaFAflw37t2lPKdJmP8QR0","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$10.26","priceAmount":10.26,"currencySymbol":"$","integerValue":"10","decimalSeparator":".","fractionalValue":"26","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"8%2F9ZVevgkmAJh8%2FyOFDhD9xccLGDWHZRXrPLmI9oODWNajoMVvyptIssamPjts6tuS7TNWMDRNcHvonP%2BIK16jm3%2F%2B3JztTYuu3%2BHnLERmxavMm6VhuW7EY6os1wTVBcAtbcuscc%2BCTEJ3wC%2BUauk%2Bp7pWh0WJm7OllhI4VEsKznXxow%2B87%2BLg%3D%3D","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

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

There is a newer edition of this item:

Frequently bought together

This item: Learning Python, 5th Edition
$65.35
Get it as soon as Tuesday, Feb 24
Sold by AasStore and ships from Amazon Fulfillment.
+
$27.53
Get it as soon as Friday, Feb 20
In Stock
Ships from and sold by Amazon.com.
+
$13.09
Get it as soon as Friday, Feb 20
In Stock
Ships from and sold by Amazon.com.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
Some of these items ship sooner than the others.
Choose items to buy together.

Customers also bought or read

Loading...

From the brand

Editorial Reviews

About the Author

Mark Lutz is a leading Python trainer, the author of Python's earliest and best-selling texts, and a pioneering figure in the Python world.

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
  • Publication date ‏ : ‎ July 30, 2013
  • Edition ‏ : ‎ 5th
  • Language ‏ : ‎ English
  • Print length ‏ : ‎ 1643 pages
  • ISBN-10 ‏ : ‎ 1449355730
  • ISBN-13 ‏ : ‎ 978-1449355739
  • Item Weight ‏ : ‎ 5.1 pounds
  • Dimensions ‏ : ‎ 7 x 2.8 x 9.19 inches
  • Part of series ‏ : ‎ Learning Python
  • Best Sellers Rank: #307,460 in Books (See Top 100 in Books)
  • Customer Reviews:
    4.5 out of 5 stars (1,972)

About the authors

Follow authors to get new release updates, plus improved recommendations.

Customer reviews

4.5 out of 5 stars
1,972 global ratings

Customers say

Customers find this Python programming book comprehensive and ideal for learning, taking them from basics to advanced concepts. The book's readability and writing style receive mixed feedback - while some say it reads like a novel and is well-written, others find it exhausting to read and unclearly written. The book's length is also a point of contention, with some praising its extensive content while others find it overly long.
AI Generated from the text of customer reviews

Select to learn more

156 customers mention detail, 123 positive, 33 negative
Customers appreciate the book's detailed content, describing it as thorough and comprehensive, with one customer noting its extensive 1500+ pages of information.
This is a great, thorough, quality book on Python, targeted at individuals who have some experience writing programs, but who want to learn Python...Read more
very detailed and explained why to write code like this rather than that, explained what python does in the background....Read more
...Well written and comprehensive but very readable if you're willing to get your hands dirty with coding; this book like most In this series are not...Read more
...But therein lies a problem ... he is sometimes TOO thorough....Read more
119 customers mention learning material, 88 positive, 31 negative
Customers find the book ideal for learning Python, taking them from basics to advanced concepts through interactive reading. One customer notes it's particularly helpful for those with experience in other programming languages.
In this book each point repeated many times. So it is good for beginners. But some chapters become to longRead more
...But in general, very good reference book with lots of insights into python foundational conceptsRead more
...However, it's not a book for beginners and may only fit certain intermediary developers if they have a formal degree in computer science....Read more
This is the book on Python! Well written with a lot of useful examples.Read more
60 customers mention python knowledge, 58 positive, 2 negative
Customers find this book to be a comprehensive treatise on Python, suitable for both beginners and experienced programmers.
This is great book to learn python. This contains a lot of content, so this book is like dictionary for python.Read more
Great book for learning, and a great book for teaching. Chapters are an excellent supplement or primary material for undergrad curriculum development.Read more
It’s great book for python. I love it.Read more
This is the book on Python! Well written with a lot of useful examples.Read more
41 customers mention ease of use, 30 positive, 11 negative
Customers find the book simple and easy to understand, with clear examples that make it straightforward to try out Python code.
...interject the caveat that "Yes, but it is so Well Written and Easy to Understand". Wars will not break out. Will maybe....Read more
Great book that is easy to read with examples that can be easily followed....Read more
...Yes, this is a very comprehensive list, but definitely too hard for beginners....Read more
...Even though you often hear that Python is easy to learn, it's an incredibly deep language that requires time and effort....Read more
75 customers mention readability, 41 positive, 34 negative
Customers have mixed opinions about the book's readability, with some finding it reads like a novel with a nice pace of understanding, while others describe it as exhausting and almost unreadable.
...of the book is not intimidating, since it is conversational and easy to read and play with the examples shown in the book. Highly recommended.Read more
...This book is 1600 pages and is not a quick read....Read more
...up book "Programming Python" complements this and is another good read.Read more
This book is overwritten and exhausting to read. It's not an intro to programming, but rather a bloated intro to the language's objects and syntax....Read more
64 customers mention book length, 22 positive, 42 negative
Customers have mixed opinions about the book's length, with some appreciating its enormous size while others find it overly long for its content.
...Its a big book, but very easy reading. To the point, no trying to be clever. But it does need to be read from cover to cover....Read more
This is a huge book. It's slow going because I only work through a few pages at a time....Read more
...Sidebars discuss more advanced ideas for those interested. The book is long but it doesn't feel like it while you're working through it.Read more
This book is huge. And definitely not written for a newbie, IMHO. Very intimidating. I’m sure it’s a great book, just not for me. Returning.Read more
51 customers mention language knowledge, 32 positive, 19 negative
Customers have mixed opinions about the book's language coverage, with some appreciating its deep dive into Python while others find it excessively verbose and wordy.
Mark Kutz has wriiten the best book on a programming language that I haver ever read. Everyone who Works with Python should read this book....Read more
Verbose and repetitive.Read more
Excellent treatment of a powerful language.Read more
...it was ideal for learning not only how, but why python is the wonderful language it is....Read more
44 customers mention writing style, 29 positive, 15 negative
Customers have mixed opinions about the writing style of the book, with some finding it very well written while others describe it as unclearly written and wordy at first.
...Well written and comprehensive but very readable if you're willing to get your hands dirty with coding; this book like most In this series are not...Read more
Very very very dense and wordy. It makes a simple subject more complicated than it should be.Read more
This book is very well written and has all the info you need about Python, however it lacks of good examples and exercises.Read more
...Mr. Lutz' writing style is clear, insightful and methodical without being tedious. I cannot say I am excited to read 1400+ pages....Read more
A Mark Lutz Trifecta of Python Winners
5 out of 5 stars
A Mark Lutz Trifecta of Python Winners
At 65 I am "In-Progress" in Learning (attempting) Python. There is so much information out there on Learning and "Using" Python that it is very easy to become Overloaded and almost Entangled with Unexpected Results. The "Learning Python" book by Mark Lutz is Incredibly easy to read. Almost like a novel in some respects, where you find yourself reading one more page, one more section, one more chapter. Detail flows, and is presented in a meaningful way that you do not become exasperated with the volume. Mark lays a Path from the Start that begins with what Python is and Is Not. Then how to install, and entry to how to use. From there the Journey Begins. Learning, Experiencing, Practicing, and Acquiring the knowledge in useful bites, maybe bytes.... Mark has such a Fantastic Grasp on the Python Language that he uses his skill to Be Your Guide on Your Journey to Learning and Understanding How to Use Python. Whether in a Large Program, as a student, as a hobbyist, or as an integral component of your office work. He leads you on a level, paved pathway that leaves you with a smile. His approach is so unique, that many who suggest his work do so in the matter that it is "The Best". I have to agree. I am an engineer and use C++ at an Intermediate Level. But found Python to be Overall Cumbersome and with many holes and obstacles to implementation. Following from Start to Finish, my Linear Way, and probably as most will suggest more than a touch anal, none the less his Learning Python has lead me to Where I am Now Able to Construct Applications that work. Here at home, and out in the field. Mark has such a fantastic way of presenting data, descriptions and how to avoid syntax errors, that you will come to the same conclusion of the all the others; That Learning Python by Mark Lutz is the Pathway Forward. Having a Copy of the Book on my desk while going through Tutorials from Udemy and a few other On-Line Learning Sites has increased my ability to obtain and use constructively what I learn, and where to look when I am unsure. I am sure some would think of his works as a Bible, I would interject the caveat that "Yes, but it is so Well Written and Easy to Understand". Wars will not break out. Will maybe. Python vs C vs Ruby vs Java vs (The Next New Language) Simply Said: For a $50.00 Bill you will have a Reference that you will always Appreciate. Sincerely Robert M Tonkavich. Note: I was not paid in any way for this endorsement. It is mine, and under No Influence.
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review

Top reviews from the United States

  • Reviewed in the United States on January 14, 2014
    I don't write too many reviews but I have to review this book. I'm just trying to learn the language to do some web, security, and rasberry pi development on my own. I tried to learn python over a year ago, got frustrated and quit. I tried to pick up the language again about 2 weeks ago. I have read and tried to work through Learning Python the Hard Way (LPHW). LPHW is a good resource and it did give me a general understand of the language. It teaches python version 2x. I have also read Dive into Python 3 (DP3). DP3 is also a good resource and it teaches python version 3x. I have also read and referenced [...] For the most part, I am able to write simple code. But I got frustrated when I tried to review and understand complex code structures. I had a hard time understanding the nuances of the language. I spent hours searching online and watching tutorial videos. But I was constantly frustrated because there were all these exceptions that didn't make sense to me. I kept on asking why this works and why that does not work.

    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.
    33 people found this helpful
    Report
  • Reviewed in the United States on April 5, 2023
    Format: PaperbackVerified Purchase
    I wanted to pick up programming as a little hobby to do in my spare time. After stumbling through countless websites picking up little tidbits of information here and there (and spending ALOT more time and effort than I expected) I was starting to doubt if this was even possible to learn myself. As said before, I would pick up little bits of information and try to make my own little programs. I got very very basic information down but couldn’t comprehend how to to write anything more than a simple 20 line script. I was about to give up. Then I bought this book.

    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.
    24 people found this helpful
    Report

Top reviews from other countries

Translate all reviews to English
  • TheReader
    5.0 out of 5 stars Ein Biest von Buch, aber sicher eines der besten Python-Bücher, wenn man tief einsteigen will
    Reviewed in Germany on October 26, 2019
    Format: PaperbackVerified Purchase
    Über 1.500 Seiten - das ist ein Biest von Buch. Da kann man schon mal ein paar Wochen und Monate Zeit mit verbringen. Dabei baut dieses Werk das Wissen logisch und - meiner Meinung nach auch didaktisch sehr gut gemacht - auf. Sprache und Ausdrucksweise sind sehr gut verständlich, die diversen Wiederholungen mögen dem einen oder anderen Leser überflüssig scheinen, ich empfinde das aber eher positiv, weil beim Lesen und durcharbeiten eines Buchs diesen Umfangs am Ende doch mehr Wissen dauerhaft hängen bleibt. Wer Python ernsthafter und intensiver nutzen möchte, ist gut beraten, sich dieses Buch anzuschaffen, denn es hat Referenzcharakter. Man findet sehr viele Themen und der Index ist gut gepflegt.

    Ich habe schon diverse Projekte in Java, C++ und C# realisiert, auch recht umfangreiche mit und ohne GUI, multithreaded, parallel und auch nicht parallel. Und dennoch muss ich sagen, dass - mal angesehen von den grundlegenden Sprachkonstrukten (Bedingungen, Operatoren, Schleifen, Listen, Arrays, Dictionaries etc ppa.), die in allen Programmiersprachen hinreichend ähnlich bis nahezu identisch aufgebaut und nutzbar sind - dieses Buch sehr deutlich zeigt, dass Python bei weitem alles andere als nur eine einfache "Script"-Sprache ist. Man kann definitiv schnell und easy Scripts mit Python schreiben und das auf vielen Betriebssystemen. Das ist genial. Alle erforderlichen Grundlagen dafür werden vom Author solide vermittelt und alle Konzepte sind hinreichend mit Beispiel-Code belegt. Easy to follow!

    Aber mit Python lassen sich auch mächtige und trotzdem effiziente Programme schreiben. Ich betreibe z.B. einen Cluster mit 15 Raspi 3B+ Platinen (60 Threads), um neuronale Netze, parallele Algorithmen für Machine Learning und Programme (in MPI programmiert) zu erforschen, eigene Programme zu schreiben etc. ppa. Neben C++ ist hier Python eine hervorragend geeignete Sprache nicht nur für die Steuerung und das Monitoring meines Raspi-Clusters, sondern eben auch für die darauf laufenden verteilten Anwendungen inkl. GUIs z.B. mit Tkinter oder Anbindung an MySQL oder SQL-Server für Datenbanken. Bei all diesen Python-Projekten hat mir das Buch von Mark Lutz erheblich weitergeholfen. Dazu habe ich auch sein zweites "Big Beast" mit dem Titel "Programming Python", das ebenfalls gute 1.500 Seiten hat, gelesen, wo es um die praktischen Anwendungen, also der echten Programmierung von GUIs und zahlreichen realen Anwendungen aus verschiedenen Bereichen geht. Auch dieses zweite Buch ist ein Referenzwerk für mich.

    Insgesamt kann ich "Learning Python" von Mark Lutz jedem empfehlen, der ein tieferes Verständnis von Python entwickeln möchte und der eben nicht nur ein paar kleine Scripts basteln möchte. Dafür gibt es sehr viel kürzere und kompaktere Darstellungen. Aber wer Python - wie ich - auch für größere und ernsthafte Projekte einsetzen möchte, sollte dieses Buch lesen und es in Greifnähe behalten. Ich beschäftige mich seit gut 1,5 Jahren intensiv mit Python und schlage noch immer das eine oder andere Thema in diesem Buch nach.

    Als absolut hilfreiche und lesenswerte Ergänzung zu den beiden Büchern von Mark Lutz möchte ich hier auch das Buch "The Python 3 Standard Library by Example" von Doug Hellmann empfehlen. Es gibt für mich kein besseres Buch, dass die unglaublich umfangreichen Standardbibliotheken von Python so gut erklärt. Für Fortgeschrittene, die mal Profi werden wollen, eine wahre Goldgrube.
    Report
  • Andrea R.
    5.0 out of 5 stars Not a reference book! It is a tutorial.
    Reviewed in Italy on October 22, 2020
    Format: PaperbackVerified Purchase
    This is not a reference book, it is a tutorial so you will be probably better off by reading it from the beginning to the end. It explains everything in detail. The first chapters give a nice overview of the language and then it goes more in depth. I was really into this approach because it gives context before diving into the details. This will lead to some repetition of important concepts sometimes which I personally find extremely useful. It explains differences with python 2.x also. Not an easy read but be patient and take your time to digest the material.
    You will find solutions to the exercise at the end.
    Pages > 1500.
  • Aleksander
    3.0 out of 5 stars Content is great, delivery and paper not
    Reviewed in Poland on May 20, 2021
    Format: PaperbackVerified Purchase
    The content of the book is very detailed and I personally found it useful during the learning process. The book came in not so good physical shape. The reason is partly paper quality, mostly though, it concerns packaging which allows the book to move freely inside the box.
  • francesco
    2.0 out of 5 stars Verbose, cluttered and dispersive
    Reviewed in the Netherlands on February 3, 2022
    Format: PaperbackVerified Purchase
    Unnecessarily long, extremely dispersive and cluttered. Sometimes redundant and ripetitive, sometimes surprisingly dismissive.
    Check David Beazley books instead.
  • Casper Knows All
    5.0 out of 5 stars This is my second.
    Reviewed in Australia on February 26, 2023
    Format: PaperbackVerified Purchase
    This is a great book. Explanations are so clear and logically written. I love it.
    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).