Okay, I have decided that I would like to learn some programming, and have taken to MIT's OpenCourseware lectures/curriculum to aid me in this process. I have no previous programming experience.
I saw this "Hello, world!" program and decided to give a test-run just to make sure everything was working properly, my IDLE search path was in order, etc.
I attempted to run this simple program, yet I keep getting a syntax error, and I literally have no idea why. I will take you step by step through what I did, because I feel quite dumb for not understanding this simple procedure.
FYI, I am running Python 2.7, which I DL off the Python site on Mac OS X 10.6. I am also referencing this: http://en.wikibooks.org/wiki/Python_Programming/Creating_Python_programs
So I opened IDLE, and typed:
print "Hello, world!"
i saved this as a hello.py and then proceeded to follow all the directions that the wiki gave in Terminal. yet, in Terminal, I keep getting this error:
Note* I tried print("Hello, World!") also, same thing.
Can someone please tell me what the heck I am doing wrong? Am I completely misguided here?
I saw this "Hello, world!" program and decided to give a test-run just to make sure everything was working properly, my IDLE search path was in order, etc.
I attempted to run this simple program, yet I keep getting a syntax error, and I literally have no idea why. I will take you step by step through what I did, because I feel quite dumb for not understanding this simple procedure.
FYI, I am running Python 2.7, which I DL off the Python site on Mac OS X 10.6. I am also referencing this: http://en.wikibooks.org/wiki/Python_Programming/Creating_Python_programs
So I opened IDLE, and typed:
print "Hello, world!"
i saved this as a hello.py and then proceeded to follow all the directions that the wiki gave in Terminal. yet, in Terminal, I keep getting this error:

Note* I tried print("Hello, World!") also, same thing.
Can someone please tell me what the heck I am doing wrong? Am I completely misguided here?