Website Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • August 31, 2015, 05:53:45 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Book: Learn Python the Hard Way  (Read 4573 times)

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,698
    • View Profile
    • Donate to Member
Book: Learn Python the Hard Way
« on: May 20, 2011, 06:14:07 AM »
Has any one here read "Learn Python the Hard Way"?

Some quotes from the site:

Quote
The book is a very beginner book for people who want to learn to code. If you can already code then the book will probably drive you insane. It's intended for people who have no coding chops to build up their skills before starting a more detailed book.

Quote
The book is also free for people to read because I love programming and want more people to love programming:

    Learn Python The Hard Way (pdf)

The book is free to read and give to anyone so long as you do not charge for it and you give them the entire book.

Quote
The book is very simple:

    52 exercises in all.
    26 cover just input/output, variables, and functions.
    26 cover logic (boolean algebra, if-statements, while-loops, etc.)

Each exercise is one or two pages and follows the exact same format. You type each one in (no copy-paste!), make it run, do the extra credit, and then move on. If you get stuck, at least type it in and skip the extra credit for later.

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 12,785
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Book: Learn Python the Hard Way
« Reply #1 on: May 20, 2011, 06:38:03 AM »
Quote
This simple book is meant to get you started in programming. The title says it’s the hard way to learn to write code;
but it’s actually not. It’s only the “hard” way because it’s the way people used to teach things.

Old skool~! :D
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,698
    • View Profile
    • Donate to Member
Re: Book: Learn Python the Hard Way
« Reply #2 on: May 20, 2011, 07:09:23 AM »
Yes, but with recent technology ;)

From Exercise 1:

Quote
Finally, it prints out a “SyntaxError” and tells us something about what might be the error. Usually these are very cryptic, but if you copy that text into a search engine, you will find someone else who’s had that error and you can probably figure out how to fix it.
« Last Edit: May 20, 2011, 07:18:23 AM by ewemoa »

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 7,969
    • View Profile
    • Dales Computer Services
    • Donate to Member
Re: Book: Learn Python the Hard Way
« Reply #3 on: May 20, 2011, 11:02:57 AM »
Alternative method which is much more fun: http://tinyurl.com/5bzs2j

Jibz

  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,026
    • View Profile
    • Donate to Member
Re: Book: Learn Python the Hard Way
« Reply #4 on: May 20, 2011, 01:14:34 PM »
I find it odd that a new guide teaches people python 2, I would have imagined it would make more sense to get new programmers to adopt python 3?

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,698
    • View Profile
    • Donate to Member
Re: Book: Learn Python the Hard Way
« Reply #5 on: May 20, 2011, 06:08:59 PM »
Regarding Python 3 vs Python 2, I came across the following in the book:

Quote
A programmer may try to get you to install Python 3 and learn that. You should tell them, “When all of the python code on your computer is Python 3, then I’ll try to learn it.” That should keep them busy for about 10 years.

...and that, my liege, is how we know the Earth to be banana shaped. ;)

daddydave

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 822
    • View Profile
    • Donate to Member
Re: Book: Learn Python the Hard Way
« Reply #6 on: June 10, 2012, 07:46:58 PM »
I've carried around a note of my all-time pet peeves in technical writing, and kept them to myself at least since 2008. One of them is, to quote myself:

Quote
Write for the target reader who doesn't know anything, so you can reuse the same first ten know-nothing chapters in all your books.

So I cringed when I read in Exercise 4:

Quote
Note: The _ in space_in_a_car is called an underscore character. Find out how to type it if you do not.
already know.

Patrick: I'll never learn Python, I can't find the underscore key!
Spongebob: Why don't you find out on Google, Patrick?
Squidward (derisively): That's spelled G-O-O-G-L-E!
(one hour later)
Patrick: I can't find the G key!

If bad things happen to other people, it's karma. If bad things happen to me, it's kismat!
« Last Edit: June 10, 2012, 08:12:54 PM by daddydave »

40hz

  • Supporting Member
  • Joined in 2007
  • **
  • gravatar avatar
  • Posts: 11,527
    • View Profile
    • Donate to Member
Re: Book: Learn Python the Hard Way
« Reply #7 on: June 10, 2012, 11:22:27 PM »
If you're a rank beginner to Python (and programming) look no further than this free  course offered through Udacity.com.

Quote
Intro to Computer Science (cs101)
Building a Search Engine

with Professor David Evans - University of Virginia

Class Summary

In this course you will learn key concepts in computer science and learn how to write your own computer programs in the context of building a web crawler.

What do I need to know?

There is no prior programming knowledge needed for this course. Beginners welcome!

What will I learn?

At the end of this course you will have a rock solid foundation for programming in Python and built a working web crawler. This course will prepare you to take many of Udacity's more advanced courses.

Really quite a step up from many free 'university level' online courses in that they offer an interactive web-based programming environment (no need to install Python so you can use any PC when you want to work on the course); graded exams, live people to ask questions of - and a certificate when you successfully complete the course.

Some other good courses available there as well. Check it out. 8)