Python [Programming Language]

I'm actually learning Python right now.
It's a pretty awesome language from what i've seen so far.
Do you recommend any tutorials? How did you learn Python?
 
Python has made me Rage multiple times.

I'll stick with .NET
 
There is a really good tutorial in the Python section of HF.
It's the sticky and it's what I'm using to learn.
 
Phreak said:
There is a really good tutorial in the Python section of HF.
It's the sticky and it's what I'm using to learn.

Oh, yeah. I read that one.

Going to download "A Byte of Python" now, and see if I can learn something. :)
 
I had a question.
I'm trying to do this script:
I originally posted this on HeadRush's Python tutorial, however, thought I might get a faster reply here.

Code:
#!/usr/bin/python
import time
yourName = str(raw_input("Please enter your name: "))
if yourName == "John":
    print "You are learning python!"
    time.sleep(2)

elif yourName == "HeadRush":
    print "You made this tutorial!"
    time.sleep(2)

else:
    print "Oh welcome to this script."
    time.sleep(2)

print "Goodbye this is the end of the if, elif, and else statement script."
time.sleep(2)

However, every time I go to run it, the window doesn't stay open.
I've had several problems with this and the only script I could get to stay open was the User Input one.
Am I doing something wrong? Is there a way to make sure the cmd stays open?
 
xerotic said:
Phreak said:
There is a really good tutorial in the Python section of HF.
It's the sticky and it's what I'm using to learn.

I got the Bronze Tutorial Award on HF about 2 weeks after I joined for my Python tut, however, now that I look back, the tut isn't very good.

I wish I could get that for my epic Lua Tutorial, however, I doubt Omni will notice me. /cry

http://www.hackforums.net/showthread.php?tid=1231011
 
Back
Top