Live data from Hacker News

Learn Python in minutes

learnxinyminutes.com

1–10 of 59 posts

Re: Learn Python in minutes

#2
Having just recently learned Python the "hard" way, I really wish I would've seen this beforehand. Even having done some hands-on work and a lot of Googling, I picked up a few new things from this I hadn't seen before. Thanks!

Re: Learn Python in minutes

#3

Having just recently learned Python the "hard" way, I really wish I would've seen this beforehand. Even having done some hands-on work and a lot of Googling, I picked up a few new things from this I hadn't seen before. Thanks!

This existed as of two days ago, so don't feel too bad :)

Re: Learn Python in minutes

#4

Having just recently learned Python the "hard" way, I really wish I would've seen this beforehand. Even having done some hands-on work and a lot of Googling, I picked up a few new things from this I hadn't seen before. Thanks!

Same here, I just went through the same course. (Learn Python the hard way).

Coming from a php background I had (and am having) problems wrapping my head around the packaging section. I started to lose interest because of it. It's as if I hit a wall.

Can any Python hackers offer some good resources for learning more about packaging?

Re: Learn Python in minutes

#5
This is exactly what I wanted a few years ago while working on a GAE project. I had never touched Python but I knew programming and just wanted to know what the language had and how in basic terms to use it.

I remember picking up a large book from a store shelf titled something like "Python for Programmers". Thinking, "Oh, this is for people who already know how to program and just want to learn Python". I open the book randomly and start reading it's explanation on what functions are in programming and why they're useful. I sighed and placed the book back on the shelf.

Re: Learn Python in minutes

#6
post #3

Having just recently learned Python the "hard" way, I really wish I would've seen this beforehand. Even having done some hands-on work and a lot of Googling, I picked up a few new things from this I hadn't seen before. Thanks!

This existed as of two days ago, so don't feel too bad :)

<3 Reblogged on my personal and followed, for great justice.

Re: Learn Python in minutes

#7
This looks very similar to the notes I was taking on my own when going through "learning python the hardway". Yours are much better and easier to read though, and make more sense in terms of going from very easy to more complicated in staggered steps.

Great stuff!

As a sidenote, how does everyone take note (if you even do) when learning something new like a language or some kind of skill?

Re: Learn Python in minutes

#9
What does he mean by "# Tuples are created by default if you leave out the parentheses".

With or without the parens I'm getting the same result for "a, b, c = (1, 2, 3)"

Re: Learn Python in minutes

#10
post #9

What does he mean by "# Tuples are created by default if you leave out the parentheses". With or without the parens I'm getting the same result for "a, b, c = (1, 2, 3)"

Yes, that is the same with or without parentheses. You're creating a tuple on the right-hand side of the equal sign, and using tuple unpacking on the left-hand side to assign the members of that tuple to variables. To make it a bit more clear, you can add parentheses on the left to match the ones on the right:

    (a, b, c) = (1, 2, 3)
Post reply on HN