Sponsored
Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows.
Buy New
-75% $9.99
FREE delivery Tuesday, May 5 on orders shipped by Amazon over $35
Ships from: Amazon
Sold by: READ & DREAM
$9.99 with 75 percent savings
List Price: $39.99 Image
Get Fast, Free Shipping with Amazon Prime
FREE delivery Tuesday, May 5 on orders shipped by Amazon over $35
Or Prime members get FREE delivery Saturday, May 2. Order within 10 hrs 43 mins. Join Prime
Only 1 left in stock - order soon.
$$9.99 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$9.99
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
Quick refund
Usually issued within 24 hours. See exceptions
FREE return
At least one free return option available.
Convenient dropoff
At any of our 50,000 US locations.
See return policy
Gift options
Available at checkout
Available at checkout This item is a gift. Change
At checkout, you can add a custom message, a gift receipt for easy returns and have the item gift-wrapped
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
$6.40
May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less See less
FREE delivery May 8 - 12. Details
In stock
$$9.99 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$9.99
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.
Ships from and sold by ThriftBooks-Phoenix.
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

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

Follow the author

Get new release updates & improved recommendations
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 out of 5 stars (538)

{"desktop_buybox_group_1":[{"displayPrice":"$9.99","priceAmount":9.99,"currencySymbol":"$","integerValue":"9","decimalSeparator":".","fractionalValue":"99","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"UcbJq8DYA8EUWh2UVK0KIE0pEVkfRRHyND4%2Bqaxsw3Q%2BXBCNLcktQByvPibE%2FS9yydebKzKsDqAz0xIPAWHCgPEP2Fmrv3cnw2E%2Fkmkt3ZKKMgMhnhNT5ceMriFcDwEMn1xG%2FU2Wb7rqj5aqDGTFQ2vOfBwGqIE8vyLBOCBCUyOdsK%2FoW8ys6KJT8H7CFtCT","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$6.40","priceAmount":6.40,"currencySymbol":"$","integerValue":"6","decimalSeparator":".","fractionalValue":"40","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"UcbJq8DYA8EUWh2UVK0KIE0pEVkfRRHyZ1PRJzFUcIwxZOf4R7AQUzajIKHcW44wtG%2Bgx1OT97R43jvrFfkBeM%2BN9SoifAJ4Zt5%2FZnfH7c3R9qPj2hxQo2v1kqa1XsOaiYA5vNBaCxfWJ5LdXPHxnIkJGExV%2BqkPkZJOaGZ%2BWXVg2%2BYDilQrJWmqwSxxc8OB","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!

Sponsored

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)
$9.99
Get it as soon as Tuesday, May 5
Only 1 left in stock - order soon.
Sold by READ & DREAM and ships from Amazon Fulfillment.
+
$16.88
Get it May 8 - 12
In stock
Usually ships within 2 to 3 days.
Ships from and sold by BOOK_DEPOT.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
One of these items ships sooner than the other.
Choose items to buy together.

From the Publisher

Image
A Very Simple Introduction to the Terrifyingly Beautiful World of Computers and Code
Image
The Next Step for New Python Programmers
Image
Quickly Get Productive with Python
Image
Become a Python Programmer and Have Fun Doing It
Image
The Hands-On, Example-Rich Introduction to Pandas Data Analysis in Python
Customer Reviews
4.4 out of 5 stars 1,038
4.7 out of 5 stars 124
4.5 out of 5 stars 47
4.4 out of 5 stars 79
4.6 out of 5 stars 316
Price $19.87 $16.88 $32.05 $39.99 $36.73
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
  • Publication date ‏ : ‎ October 1, 2013
  • Edition ‏ : ‎ 3rd
  • Language ‏ : ‎ English
  • Print length ‏ : ‎ 320 pages
  • ISBN-10 ‏ : ‎ 0321884914
  • ISBN-13 ‏ : ‎ 978-0321884916
  • Item Weight ‏ : ‎ 1.15 pounds
  • Dimensions ‏ : ‎ 7.25 x 9.25 x 0.75 inches
  • Best Sellers Rank: #469,865 in Books (See Top 100 in Books)
  • Customer Reviews:
    4.2 out of 5 stars (538)

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.

Sponsored

Customer reviews

4.2 out of 5 stars
538 global ratings
Sponsored

Customers say

Customers find this Python book great for beginners, praising its readability with step-by-step instructions and easy-to-digest content. Moreover, the language receives positive feedback, with one customer noting it serves as an excellent introduction. However, the writing style and target level receive mixed reactions, with some finding it simply written while others disagree, and several customers noting it's not suitable for programmers. Additionally, the tone receives criticism, with one customer describing it as condescending.
AI Generated from the text of customer reviews

Select to learn more

60 customers mention content, 48 positive, 12 negative
Customers find the content of the book excellent and fun to read, with good information that makes it suitable for beginners.
Pretty good book, i think is a great book for someone who is already familiar with windows Shell, I​ personally stick to beginner books.Read more
Excellent book that encourages you to just get your hands dirty with programming....Read more
...Great book for a beginner like me....Read more
I was very disappointed by this book. First of all, the author insists on using Python v2 not v3 and doesn't explain why....Read more
50 customers mention learning, 44 positive, 6 negative
Customers find the book effective for learning Python, particularly as a beginner resource, with one customer noting that it presents concepts in small, easy-to-digest bits.
...A great way to learn Python and segway into other languages.Read more
This book presents an excellent way to learn the Python language. I have not finished with the book yet (because it allows me to go at my own pace)....Read more
This book has a good workflow for learning Python. I bought it for a class, and it was very clear to me.Read more
Great read and very enlightening!Read more
25 customers mention readability, 19 positive, 6 negative
Customers find the book easy to understand and appreciate its step-by-step instructions, with one customer noting that it breaks coding down in the simplest terms.
Greatness. Very direct and this books makes you think about what you are doing and why. Zed does not tell you or gives you just enough....Read more
Easy to read and understand. Practice, practice, practice. The method of teaching is great for building knowledge and confidence.Read more
A nice little introduction.Read more
I don't know to whom the book is for I only know that it is not for beginners....Read more
5 customers mention language, 5 positive, 0 negative
Customers appreciate the language of the book, with one mentioning it is easy to understand with examples, and another noting it serves as an excellent introduction to programming.
...I really enjoyed learning the powerful language from this book and applying it to get started in scientific research....Read more
...Otherwise, an excellent introduction to the language.Read more
...Python is an excellent programming language that I now use almost every day, but it works best (in my experience) with a much different paradigm...Read more
Great book if you want to study Python from scratch. Easy language with examples.Read more
13 customers mention writing style, 7 positive, 6 negative
Customers have mixed opinions about the writing style of the book, with some finding it good and simply written, while one customer notes that the author's style is somewhat condescending.
Good book simply written. if you follow the book you will learn, step by step.Read more
This book was written for the earlier version of Python and I need a guide for the most current version.Read more
...I'm 2/3 into the book and I feel very confident writing out the examples and then writing my own versions of the samples to fully understand what I...Read more
...The author's style is somewhat condescending; at best it's very abrupt and terse....Read more
12 customers mention target level, 6 positive, 6 negative
Customers have mixed opinions about the book's target level, with some noting it's not suitable for programmers, while one customer mentions it's great for beginners.
Good for new programmers. Teaches the basics and leaves out the frills. Encourages independent research.Read more
This definitely is not a book for programmers attempting to learn a new language. It might be good for someone who hasn't programmed before ...Read more
...helped me understand the terminal a lot better and helped me start to grasp how programming works. Highly recommended for beginners.Read more
...for these admonishments is ill-founded and seems difficult to excuse giving beginning programmers when they're just starting out and desperate to...Read more
8 customers mention effectiveness, 5 positive, 3 negative
Customers have mixed opinions about the book's effectiveness, with some finding it very effective and helpful, while one customer reports that it will not work on their system.
Helped so much. I don’t know any programming and this helped sooooo much!Read more
...Plus, it’s outdated as it is based on Python 2. You will not find support for what you are trying to learn....Read more
...'ll work on your system, and the method of teaching by doing is extremely effective, quick, and actually pretty fun....Read more
...has a unique way of teaching and is a little unorthodox, yet very effective....Read more
6 customers mention tone, 1 positive, 5 negative
Customers criticize the book's tone, describing it as condescending, sarcastic, and unencouraging.
...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...Read more
...some readers like Zed's blunt "hard way" style, but I found his tone unencouraging - i.e., if you are trying to tackle a challenging new subject you...Read more
...The reasoning for these admonishments is ill-founded and seems difficult to excuse giving beginning programmers when they're just starting out and...Read more
...Zed Shaw's tone is condescending. His examples are uninformative. This book is a waste of money....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 March 27, 2014
    Format: KindleVerified Purchase
    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
  • Reviewed in the United States on September 7, 2016
    Format: KindleVerified Purchase
    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
    Format: PaperbackVerified Purchase
    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.
    294 people found this helpful
    Report
  • Reviewed in the United States on August 22, 2016
    Format: PaperbackVerified Purchase
    If you are trying to learn coding, software and want to learn from a friendly and experience guy but this book... or download it for free and then come back later to buy his other books.

    This is not an advanced book for computer science majors or people who know everything, you Stanford know-it-alls need to solve cold fusion and broker Middle East peace vs complaining.

    This book has been instrumental in helping me to understand Python with a bit of humor and lots of old fashioned wrote teaching.

    To me wrote teaching means read it in a book write it out and look at it three or four times , review what it says while following the instructions for extra credit.

    Stop wining and work through the assignments and realize this book is not for everyone.
    2 people found this helpful
    Report

Top reviews from other countries

Translate all reviews to English
  • 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 image Customer image
  • Cliente Amazon
    4.0 out of 5 stars Se aprende de verdad
    Reviewed in Spain on February 22, 2017
    Format: PaperbackVerified Purchase
    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.
    Report
  • Maurizio Vadala
    5.0 out of 5 stars I started this course through their website as it was ...
    Reviewed in Canada on July 21, 2015
    Format: PaperbackVerified Purchase
    I started this course through their website as it was free but after getting through about half the course I decided the amount of material I've learned was well worth the price of the book so I purchased it. Well worth the price in my opinion but see for yourself and use the free version on their website first.
  • Marcus K.
    5.0 out of 5 stars Gar nicht mal so "hard"
    Reviewed in Germany on January 13, 2016
    Format: PaperbackVerified Purchase
    Für einen absoluten Programmieranfänger ein toller Wegbegleiter um diese schöne Sprache zu erlernen. Der Einstieg gelingt mühelos und wenn man parallel die unzähligen Hilfen und Tutorials zu Python im Netz bemüht macht es einfach nur Spaß die ersten Scripte schon nach ein paar Übungen im Buch selbst zu schreiben und sich auch mit eigenen Fragestellungen abseits der Lektüre zu beschäftigen.

    Mein Ziel, die Hausautomationssoftware Indigo 6 (sehr zu empfehlen) durch eigene Scripte noch mehr den eigenen Wünschen anzupassen ging voll auf. Außerdem macht es nebenbei sogar Spaß.

    Der erfrischende und verständliche Schreibstil des Autors trägt außerdem seinen Teil zum Lernerfolg bei. Langweilige und schwerfällige Bücher zum Thema gibt es schön zu genüge.
  • Emanuele
    5.0 out of 5 stars A must have for Python learning
    Reviewed in Italy on February 23, 2019
    Format: PaperbackVerified Purchase
    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.