Prose Supplements - Shop now
Add Prime to get Fast, Free delivery
Amazon prime logo
Buy new:
-28% $28.83
FREE delivery Thursday, March 27 on orders shipped by Amazon over $35
Ships from: Amazon
Sold by: Windflower Bookstore
$28.83 with 28 percent savings
List Price: $39.99
Get Fast, Free Shipping with Amazon Prime FREE Returns
FREE delivery Thursday, March 27 on orders shipped by Amazon over $35
Or Prime members get FREE delivery Tuesday, March 25. Order within 14 hrs 16 mins.
Only 1 left in stock - order soon.
$$28.83 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$28.83
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon
Amazon
Ships from
Amazon
Returns
30-day refund/replacement
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
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
$7.07
Get Fast, Free Shipping with Amazon Prime FREE Returns
Used - Good: All pages and cover are intact including the dust cover if applicable . Spine may show signs of wear. Pages may include limited notes and highlighting. May include From the library of labels. Shrink wrap dust covers or boxed set case may be missing. Item may be missing bundled media. Used - Good: All pages and cover are intact including the dust cover if applicable . Spine may show signs of wear. Pages may include limited notes and highlighting. May include From the library of labels. Shrink wrap dust covers or boxed set case may be missing. Item may be missing bundled media. See less
FREE delivery Thursday, March 27 on orders shipped by Amazon over $35
Or Prime members get FREE delivery Tomorrow, March 23. Order within 16 hrs 31 mins.
Only 1 left in stock - order soon.
$$28.83 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$28.83
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.
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 author

Something went wrong. Please try your request again later.

Learn Python the Hard Way: A Very Simple Introduction to the Terrifyingly Beautiful World of Computers and Code (Zed Shaw's Hard Way Series) 3rd Edition

4.2 4.2 out of 5 stars 529 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$28.83","priceAmount":28.83,"currencySymbol":"$","integerValue":"28","decimalSeparator":".","fractionalValue":"83","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"nnDOvnyb2aFS31%2BCJAPL54bXRIQ1lLr71N4B588HZEz9ldignG3umgW4Z3wgZVI4nOjfwGH2pBN8PqDb%2BKhWp91P94qZr1GqynTBXtjl2Bec5iECeD6jUYrhWbL7G6Y9%2BTai7P9snsjMvbVG7kQC8OD1Ga0gsVubjcoe%2BOT2r6ofrMHWfYG7qDNgRWzyle7N","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$7.07","priceAmount":7.07,"currencySymbol":"$","integerValue":"7","decimalSeparator":".","fractionalValue":"07","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"nnDOvnyb2aFS31%2BCJAPL54bXRIQ1lLr7%2Fz78PJZdcEAkVGW%2F5JxrOOsauuvKK6FoB7lUFoLYCCn9aeASNq3L4LbUzYYzJSBjzH8Dmr9JJyEFRSn1CVLBxLhByUehudbwoTrDrWOwHNoEcTfV7WAOkOHRXSBmJfNHQ90CO9uCT8lnsPxHMvaCaIoNxzDam8WS","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

You Will Learn Python!

Zed Shaw has perfected the world's best system for learning Python. Follow it and you will succeed-just like the hundreds of thousands of beginners Zed has taught to date! You bring the discipline, commitment, and persistence; the author supplies everything else.

In Learn Python the Hard Way, Third Edition, you'll learn Python by working through 52 brilliantly crafted exercises. Read them. Type their code precisely. (No copying and pasting!) Fix your mistakes. Watch the programs run. As you do, you'll learn how software works; what good programs look like; how to read, write, and think about code; and how to find and fix your mistakes using tricks professional programmers use. Most importantly, you'll learn the following, which you need to start writing excellent Python software of your own:

  • Installing a complete Python environment
  • Organizing and writing code
  • Basic mathematics
  • Variables
  • Strings and text
  • Interacting with users
  • Working with files
  • Looping and logic
  • Data structures using lists and dictionaries
  • Program design
  • Object-oriented programming
  • Inheritance and composition
  • Modules, classes, and objects
  • Python packaging
  • Debugging
  • Automated testing
  • Basic game development
  • Basic web development

It'll be hard at first. But soon, you'll just get it-and that will feel great!

This tutorial will reward you for every minute you put into it. Soon, you'll know one of the world's most powerful, popular programming languages. You'll be a Python programmer.

Watch Zed, too! The accompanying DVD contains 5+ hours of passionate, powerful teaching: a complete Python video course!

Frequently bought together

This item: Learn Python the Hard Way: A Very Simple Introduction to the Terrifyingly Beautiful World of Computers and Code (Zed Shaw's Hard Way Series)
$28.83
Get it as soon as Thursday, Mar 27
Only 1 left in stock - order soon.
Sold by Windflower Bookstore and ships from Amazon Fulfillment.
+
$25.15
Get it as soon as Thursday, Mar 27
In Stock
Ships from and sold by Amazon.com.
+
$22.04
Get it as soon as Thursday, Mar 27
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
spCSRF_Treatment
Some of these items ship sooner than the others.
Choose items to buy together.

From the Publisher

A Very Simple Introduction to the Terrifyingly Beautiful World of Computers and Code
The Next Step for New Python Programmers
Quickly Get Productive with Python
Become a Python Programmer and Have Fun Doing It
The Hands-On, Example-Rich Introduction to Pandas Data Analysis in Python
Customer Reviews
4.4 out of 5 stars 1,029
4.6 out of 5 stars 123
4.5 out of 5 stars 46
4.4 out of 5 stars 76
4.5 out of 5 stars 306
Price $21.08 $25.15 $39.59 $41.61 $26.49
User Experience Level New to programming and/or Python Perfect for everyone who’s already started working with Python, including junior developers and seasoned Python programmers upgrading to Python 3.6+ Although this book is for people who may be new to programming altogether, it also caters to people who want to know how Python works and how it’s fundamentally different 'under the hood.' For absolute beginners who’ve never written a line of code. Any level of Python experience (none to fluent) New to data analysis.
Learning Approach You’ll learn Python by working through brilliantly crafted exercises. Read them. Type their code precisely. (No copying and pasting!) Fix your mistakes. Watch the programs run. Hands-on - you’ll go far beyond the basics and learn how to analyze a concept, idea, or problem and then how to deisgn solutions by working through 52 crafted projects. Also includes access to 12 hours of video files. Takes you by the hand and teaching by examples that are explained line by line. There is heavy emphasis on examples that are fun and useful, including games, graphics, database applications, file storage, puzzles, and more. You will learn how to think 'Pythonically' and avoid common 'gotchas'. Friendly, easy, full-color. Each chapter will tell you a bit more about programming. It will show you how to do something, and then invite you to make something of your own by using what you’ve learned. Introduces key concepts through simple but practical examples, incrementally building on them to solve more difficult, real-world problems. Brings together practical knowledge and insight for solving real problems with Pandas, even if you’re new to Python data analysis.
Key Topics Organizing and writing code; Object-orinted programming; Basic game development; Basic web development Quick hacks; Data structures; Parsing text; SQL and object relational mapping In addition to Python fundamentals, this book pays a lot of attention to intermediate and even advanced features, including list comprehension, generators, multidimensional lists (matrixes), and decorators. Programming fundamentals Advanced programming Useful Python "Tidy" data; Cleaning and munging data; How to fit your data to models ; Fitting models in other languages
Python Versions Covered Python 3 Python 3.6 Python 3.0 with notes about adapting examples to Python 2.0. Python 2.7 Python 3 Python 3 (Anaconda)

Editorial Reviews

About the Author

Zed A. Shaw is the author of the popular online books Learn Python the Hard Way, Learn Ruby the Hard Way, and Learn C the Hard Way. He is also the creator of several open source software projects like Mongrel, Lamson, Mongrel2, and has been programming and writing for nearly 20 years.

Product details

  • Publisher ‏ : ‎ Addison-Wesley Professional; 3rd edition (October 1, 2013)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 320 pages
  • ISBN-10 ‏ : ‎ 0321884914
  • ISBN-13 ‏ : ‎ 978-0321884916
  • Item Weight ‏ : ‎ 1.15 pounds
  • Dimensions ‏ : ‎ 7.25 x 9.25 x 0.75 inches
  • Customer Reviews:
    4.2 4.2 out of 5 stars 529 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Zed Shaw
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Zed Shaw is an avid guitar player, programmer, and writer whose books teach people all over the world how to write software. His book Learn Python the Hard Way has been read by millions of people around the world. His software has been used by many large and small companies. His essays are often quoted and read by members of many geek communities. He is an entertaining and lively writer, who is sure to keep you laughing and make you think.

Customer reviews

4.2 out of 5 stars
529 global ratings

Review this product

Share your thoughts with other customers

Customers say

Customers find the book an effective learning tool for programming. They appreciate the introduction to Windows PowerShell and Mac Terminal. However, some readers feel the content is lacking or missing important details. Opinions vary on the language learning approach - some find it simple and readable, while others mention issues with syntax and lack of explanation. There are also mixed reviews on the information quality - some find it straightforward and easy to follow, while others feel it lacks explanation when dealing with complex topics.

AI-generated from the text of customer reviews

68 customers mention "Learning material"59 positive9 negative

Customers find the book an effective learning tool for programming. They appreciate the guidance and unique way of teaching. The book is great for those who want to learn Python and skilled programmers looking to brush up. The approach guides readers and doesn't let them just do it on their own.

"I see where the Mr Shaw is trying to go in his approach and agree with the method...." Read more

"If you are brand new to programming, this is a great place to start...." Read more

"...lack of detailed tables for key features is horrid, the information provided is superb and there are very few typos...." Read more

"...Further, early on the author gives some interesting tips for examining the code you just wrote (and probably don't understand) that I had never..." Read more

3 customers mention "Access"3 positive0 negative

Customers appreciate the book's access to a text editor, Windows PowerShell, and Mac Terminal. They also like the introduction to Windows PowerShell and bonus guide.

"...I especially appreciated the introduction to Windows PowerShell (and Mac Terminal) which, unlike the rest of the book, does include the definitions..." Read more

"...He gives you sites to get a "text editor', how to access Windows Power Shell (it really IS on your PC) and even the means to download Python..." Read more

"With a bonus guide to powershell...." Read more

24 customers mention "Language learning"15 positive9 negative

Customers have mixed opinions about the book's language learning. Some find it readable and easy to understand, with examples that make them feel confident writing their own code. However, others mention that the author is not good at explaining details of code examples and that the book doesn't really teach Python or programming.

"...I want to reiterate that I am giving this 5 stars because the author does a good job of accomplishing his stated purpose in writing the book...." Read more

"...Second, he doesn't teach programming at all. He teaches syntax...." Read more

"...is horrid, the information provided is superb and there are very few typos...." Read more

"...I really enjoyed learning the powerful language from this book and applying it to get started in scientific research...." Read more

12 customers mention "Information quality"7 positive5 negative

Customers have mixed opinions about the book's information quality. Some find the exercises straightforward and engaging, with great layout. They appreciate the add-on tasks at the end of each module and the learn-by-doing approach. Others feel there are a lack of explanations when dealing with complex topics, a lack of glossary or tables with details, and no answers provided after about half way through the text.

"...It is a learn by doing book but also contains smaller sub-exercises after the main ones that make you think outside the box or do a little outside..." Read more

"...While the lack of detailed tables for key features is horrid, the information provided is superb and there are very few typos...." Read more

"...it has everything: readings, concepts, definitions, examples, homework/exercises." Read more

"...Zed Shaw's tone is condescending. His examples are uninformative. This book is a waste of money...." Read more

7 customers mention "Ease of follow"4 positive3 negative

Customers have different views on the book's ease of follow. Some find it easy to follow and say it pairs well with Python in easy steps. Others mention difficulty following through, poor writing, and an outdated approach.

"...It would pair well with python in easy steps which is a more traditional approach." Read more

"...and still you don't get it and have difficulty following through. This book misses out on a lot of stuff...." Read more

"...byte-sized (pun intended) practical lessons, rigorously presented, easy to follow, personable, and complete. Tried alternatives online and books...." Read more

"The approach just is not a good one...." Read more

4 customers mention "Content quality"0 positive4 negative

Customers find the content lacking. They say important entries are missing, limiting the book's value.

"...The problem with this book is that the author leaves out too much stuff for the readers to find out themselves...." Read more

"...The index is sparse; several interesting and important entries simply aren't present, limiting the value of the book as a reference or refresher...." Read more

"...This book misses out on a lot of stuff...." Read more

"...Well, less than a month after purchasing - the content is gone. They have taken it down. Not cool, Zed." Read more

East to understand for beginners
5 out of 5 stars
East to understand for beginners
Great book if you want to study Python from scratch. Easy language with examples.
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 April 25, 2015
    I see where the Mr Shaw is trying to go in his approach and agree with the method. When he calls it the hard way (and it is not hard), it is less about his way being hard and more about thinking, "What is the easy way?"

    One cannot hope to learn something by simply being given the answer, and it may seem that he giving all the answers and that the programming is being spoon fed, but it's not if you actually type out the code and do the research earnestly. I learned things even in the first couple examples and I thought I already had a good grasp of basic python. I would recommend his book and method to others who want to learn basic programming. Mr Shaw may seem preachy or that he has an axe to grind, and that may very well be true, but I see truth to what he says and I'm still an undergrad.

    I would not recommend this book to a professional programmer to actually learn code, but it's not a bad browse. A free version is online to check out before you buy.
    3 people found this helpful
    Report
  • Reviewed in the United States on September 7, 2016
    If you are brand new to programming, this is a great place to start. The author makes it very clear that his intended audience includes those who have little to no programming experience. If you find yourself in that boat, this is a five-star book.

    If you are like me, and know a language or two already, you may be disappointed. You can still learn some useful things from this book, especially if python is a new language for you, but this book wasn't really written for you. Keep that fact in mind. Go through the first ~15 exercises quickly, then skip to about 40-45. I found the sections between these points to be the least relevant for someone with a fair amount of previous experience.

    I want to reiterate that I am giving this 5 stars because the author does a good job of accomplishing his stated purpose in writing the book. That does not mean this book is for everyone.
  • Reviewed in the United States on February 27, 2014
    I have been teaching programming for more than a dozen years and I can't decide if I love or hate this book. The fundamental approach, "type this code and see what happens" is right on the money but all too often the code is followed by the advice to "look up the details on the web." The author does not direct the reader to specific sites (like this book's website -- which contains all the content). Rather, you are sent adrift and told to find your way. As everyone knows the quality of advice across the web is hit or miss and some programming symbols are hard to find. For example in the section called "symbol review" the author suggest looking up operators like ==, {, @, ] or escape sequences like \\ or \a or string formats like %%. I agree that the exercise of trying to find these things is useful but I paid for the book and I want to have the answer key. Similarly, in the section titled "learning to speak object oriented", he introduces randint() but does not say how it works. It is easy to do a web search for it but one of the top five results on Google is just wrong and others require you to know the difference between [0, 10] and (0, 10). The repeated calls to make flashcards makes sense but not if he fails to provide the information that belongs on the cards. While the lack of detailed tables for key features is horrid, the information provided is superb and there are very few typos. Sadly the typos are fixed on the book's website but there is no errata to allow you to correct the hard copy (which will make you nuts when you get to page 133 and there are [ ] where { } belong). I especially appreciated the introduction to Windows PowerShell (and Mac Terminal) which, unlike the rest of the book, does include the definitions for essentially everything covered.

    So, while the positives (well thought through progressively more difficult code examples) do outweigh the negatives (lack of a glossary and lack of tables with details) ... barely ... you will likely want to get another reference book to cover the holes in the instruction.
    293 people found this helpful
    Report
  • Reviewed in the United States on March 27, 2014
    Compared to most (if not all) programming books, the approach this book takes is unconventional and rewarding. The book starts off with the basics one would expect: strings, text, etc. The difference is, the author does not explain what any on the syntax really means. In fact he says more than once (to paraphrase): Don't worry if you don't understand any of this, just do the exercise (directly copy code from the book) and keep moving. After each exercise, there is a short study drill where you are typically told to make specific changes to the code. Shadows of explanations are sometimes contained in these drills. The end of each exercise is also followed by a QA of "Common Student Questions". Further, early on the author gives some interesting tips for examining the code you just wrote (and probably don't understand) that I had never thought of before and are quite enlightening. In exercise 5, the author explicitly states, "The problem with teaching you programming is that to understand many of my descriptions, you need to know how to do programming already. The way I solve this is I make you do something, and then I explain it later." I cannot agree with this method of teaching a programming language more. At least for my own learning style, it is ideal. As the book progresses, the logical order the exercises are layed out causing things to come together even before he get's into the detailed explanation. Once those detailed explanations are finally introduced, covered, and your are done with this book, you will be better off than with any other beginning book at which point you can comfortably move into more advanced material. A quick note on the authors writing style: he can be very sarcastic and sometimes sounds almost a bit pessimistic, but it is all with humorous undertones that make the book fun to read. I cannot recommend this book enough. After I submit this review, I am on my way to see if he has more books in "Hard Way" series.

    EDIT: Regarding complaints of the Kindle version. This happens to be the version of I am reviewing. I you want to use this side by side with an editor and a shell, you may have to shrink the font size as you web browser will (naturally) attempt to squeeze the text into whatever size you narrow your browsers width to. Personally, I am using a tiling window manager under Linux so I can shift things around as needed on a single monitor without decreasing the font size. Another solution is to use two monitors. I don't know what it looks like on my Kindle Paperwhite and don't have it with me at the moment.
    8 people found this helpful
    Report

Top reviews from other countries

Translate all reviews to English
  • Adrián
    5.0 out of 5 stars ¡Excelente!
    Reviewed in Mexico on June 17, 2019
    Muy buen libro
    Report
  • DarthVader 👀
    5.0 out of 5 stars Excellent 👌🏾
    Reviewed in India on September 19, 2020
    The book is a great introductory text to python. Unlike the title, the book provides an easy approach to python learning.

    The author puts you in the driving seat, contrary to the popular approach of rote learning. You can only learn a new task if you’re motivated; hence the author places the onus on you. Hence he leaves quite a few things for the reader to do and find out, which I’m sure helps learning.

    I don’t have a background in computer science at my graduate level. Still I am able to follow the book very easily.

    That’s the beauty of Zed Shaw method 👌🏾

    #Cons:

    None for the book
    However the seller is showing inflated MRP in order to make you believe you’re getting a good bargain. I was shown a high price and a discount when placing order; However I got the book at the MRP (photo enclosed).
    Amazon needs to discredit such sellers and practices on its portal
    Customer image
    DarthVader 👀
    5.0 out of 5 stars
    Excellent 👌🏾

    Reviewed in India on September 19, 2020
    The book is a great introductory text to python. Unlike the title, the book provides an easy approach to python learning.

    The author puts you in the driving seat, contrary to the popular approach of rote learning. You can only learn a new task if you’re motivated; hence the author places the onus on you. Hence he leaves quite a few things for the reader to do and find out, which I’m sure helps learning.

    I don’t have a background in computer science at my graduate level. Still I am able to follow the book very easily.

    That’s the beauty of Zed Shaw method 👌🏾

    #Cons:

    None for the book
    However the seller is showing inflated MRP in order to make you believe you’re getting a good bargain. I was shown a high price and a discount when placing order; However I got the book at the MRP (photo enclosed).
    Amazon needs to discredit such sellers and practices on its portal
    Images in this review
    Customer imageCustomer image
  • Emanuele
    5.0 out of 5 stars A must have for Python learning
    Reviewed in Italy on February 23, 2019
    A high-value book that immediately projects the neophyte into the python dimension, a milestone for all those who want to learn from the scratch.
  • Amazon Customer
    5.0 out of 5 stars The Alan Watts of Code. Zed Shaw has character and a solid foundation in effective teaching methods" under-the-hood"!
    Reviewed in the United Kingdom on December 7, 2016
    I'm giving this book five stars for one of the reasons some people seem to have not enjoyed it: Zed Shaw has character! I see some merit in the accusations leveled at him that he can be mildly patronising but this is a book aimed at the total beginner. TOTAL BEGINNER. His "learn by rote" oriented method won't be to everybody's tastes having had their teachers at school bore them to tears with it, but I think this is actually a very effective method for breaking people's habits and opening the mind to learn more effectively. If you don't normally learn well this way, then have a go anyway, as there is more to the learning methods than initially meets the eye here. As a juggling teacher myself I found that many of the techniques I use for complete beginners have parallels in Zed's method. He is particularly encouraging.

    Zed often chats about why he's teaching you the way he is but there is a mature technique "under-the-hood" and his conversational, rebellious and amusing style belie the effective nature of the training method. His critics hate him because he takes a stand, often very vocally, on divisive issues. Whilst I found the sections on Object Oriented Programming mildly unhelpful initially (I don't usually like being told what to think about something before I try it) I have since found that it is indeed somewhat over-used, and as he puts it "just plain weird".

    Remember, he's just got one opinion amongst many, many opinions out there. You don't have to throw the baby out with the bath water, to do so would be to be to miss a superbly enjoyable program for learning.

    He's a good teacher, and entertaining too, and his more opinionated moments leave much space for your own research, What's not to like?

    Oh, and I can now program in Python after just a couple of short months!
  • Cliente Amazon
    4.0 out of 5 stars Se aprende de verdad
    Reviewed in Spain on February 22, 2017
    Bueno y muy didáctico. Se aprende de verdad. Quizá se ha quedado un poco antiguo en cuanto a la versión de Python utilizada.