Learn Python the Hard Way, 2nd Edition

This course is unpublished! Get the 3rd edition from http://learnpythonthehardway.org/ for $29 or from Amazon.
Instructed by Zed Shaw
  • Lectures 15
  • Video 10 Hours
  • Skill level all level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

Course Description

This course is unpublished! Get the 3rd edition from http://learnpythonthehardway.org/ for $29 or from Amazon at


What are the requirements?

  • This is an introductory course, so no prior knowledge is needed. The course can be learned through all platforms.

What am I going to get from this course?

  • Over 15 lectures and 9.5 hours of content!
  • 50+ hands-on exercises to practice Python by coding real programs.
  • Video tutorials that show you how to do each exercise in case you get stuck.
  • Discussion board to ask Zed questions directly and get help on the problems.
  • A beginner's guide. You do not need to have programming background to take this course!
  • Everything is recorded so you can learn at your own pace!

What you get with this course?

Not for you? No problem.
30 day money back guarantee

Forever yours.
Lifetime access

Learn on the go.
Desktop, iOS and Android

Get rewarded.
Certificate of completion


Section 1: Week 0: Setting up Your System for Python Programming
183 pages
To complete this course you will need my book, "Learn Python The Hard Way, 2nd Edition". Students taking this Udemy course get a free copy of the PDF, which you can download here. I recommend that you save it to your desktop on your computer so you can open it for each exercise and read it. Each week's lecture will also include links to the HTML version of the book, so that you can access the same content in your browser without having to keep the PDF around. The HTML version of the book is available at: http://learnpythonthehardway.org/book/
346.11 KB

This is the same as the PDF that you can download, but in ePub format for people with eReaders.

54 slides


These are the same slides I'm using to navigate the videos.  You can click on the title of each exercise and it will take you to the web page for that exercise.

I just finished a small book that teaches you the command line *very fast*.  It's intended for folks who need just enough command line experience to then read this book or some of my other books.  The book is called "The Command Line Crash Course" and it's available for free at: http://cli.learncode…
Once you have the PDF downloaded you should go through Exercise 0  in the book.  Here's a link to the HTML version of that Exercise: Exercise 0: The Setup You should follow the exercise for the type of computer you have.  Exercise 0 gets Python, a text editor called "gedit", and your Terminal window…
Section 2: Week 1

In this video I cover some common good study habits and simple things to know about that will help you get through the course. The video briefly covers advice on: Learn About Your Computer, Effective Learning Strategies, Using The Book And Videos, Online Research Skills, Getting Help Final Advice. I also give you a way to keep on task using 3x5 index cards, a trick I use often to stay focused and get work done. 


In this video I get you started with your first lessons.  You should have complete the lecture "Week 0: The Setup" to get your Python software installed and ready to go.  If you had problems with Week 0, then please contact me with a message and I'll help.


This video walks you through doing Exercises 7 - 13, and does it in the same way as the last week.  As usual, make sure you complete these in order, and you should be doing the extra credit as you go.  I cover some of the extra credit, but not all of it.

Section 3: Week 2

Hopefully the videos are helping you to understand how someone might enter in the code and get them running.  If you get stuck then please contact me with your questions.


This is the video for exercises 21-26.  Remember that you can download the PDF for the course or use the links for this video to read the exercises in your web browser.

Section 4: Week 3

As usual, remember that you can get the PDF downloaded if you want high quality text, and the HTML version links are in the companion lecture to this video.


Remember that you can download the full PDF or access the video's exercises directly through the links.

Section 5: Week 4

In week 4 I start cutting you off from watching me code and instead give you advice for each exercise and tell you some tips for doing them.  At this point you need to start getting self-sufficient and able to learn from the book.  Remember to ask for help if you get stuck.


This is the last video of the course, and it focuses on Exercises 48-52 for Linux, OSX, or generic Unix computers.


This is the last video of the course, Week 4, Video B, for Windows computers.  I cover exercises 48-52 just like with the Linux/OSX/Unix video, but I show you how to install things on Windows that may be causing you problems.

Instructor Biography

Zed Shaw , Coder, Author, Teacher

Zed is the creator of the Mongrel Web Server, and its language independent successor, Mongrel2, as well as Fret War - a community for guitar players to learn from and compete with each other.

He is also the author of "Learn Python the Hard Way," an ebook he published in 2010. It has been downloaded over 300,000 times and is one of the definitive textbooks for first-time developers to learn coding in Python.

Zed has been speaking publicly at conferences since 2000 and all over the world. Most recently he spoke at PyCon 2011 as well as taught Learn Python the Hard Way at PyCon. He spoke at Mountain West RubyConf 2011 as well. He is highly regarded as a public speaker on technology topics and just generally hilarious when he does it.

Join the biggest student community


Hours of video content


Course Enrollments




Average Rating
  1. 5 Stars
  2. 4 Stars
  3. 3 Stars
  4. 2 Stars
  5. 1 Stars
    • Valery Warren

    Learn Python The Hard Way by Zed Shaw

    I really had a good time with this course. Thought it was tough at times, Zed Shaw brings that stuff into focus. I would recommend this course to those who would like to learn the programming basics that establish the use for coding. Valery Warren

    • Mr. Aaron Pack

    Learn Python the Hard Way

    I cannot recommend Zed Shaw's patience enough. This course is clear and concise. You will not waste time trying to find hidden techniques, all the tutorials are very easy to understand. By the end of the course you will be programming your own games and from there your imagine is the only limit to your potential. Thank you Zed for your time, patience and generosity.

    • Hank Ding

    Let's begin study Python, if you don't have study any program language

    It's very good course!

    • Bruce D. Meyer

    Learn Python in crawl, walk, run mode

    I tried a few books and the google course, and everything left out too much for me to grasp. Many assumptions were made even though they were supposed to be beginners books. This course is priced right, Self paced, has video that is quite helpful, and the book walks you through from the very beginner type stuff, right up to making your own Web App at the end. Now, we just need the next version for 'where do we go from here.'

    • Vikram Hegde

    Too simple. For High school students only.

    Please don't use the word "hard" in this course title. It is a very simple minded course only suitable for people with no programming background. Please target this at high schoolers. It is not suitable for people who want to work in industry. I regret wasting my money.

Show more reviews
Ready to start learning?
Preview this course