Re: [Tutor] Running files from command prompt

2011-07-29 Thread Alexander Quest
Alexander- thanks for the tip as to sticking with Python 3. Steven, I greatly appreciate that breakdown. You're right about the error: it was a syntax error on that line; I'll make sure to include the descriptions in the future. As far as finding a new tutorial, I am going to see if Google's class

Re: [Tutor] Running files from command prompt

2011-07-28 Thread Steven D'Aprano
Alexander Quest wrote: To clarify, the particular file that was giving me trouble was the basic "hello world" file. The original code on line 29 read as such: print 'Hello', name When I ran "C:\google-python-exercises> python hello.py, it gave me an error on that line (line 29), but when I change

Re: [Tutor] Running files from command prompt

2011-07-28 Thread Alexander Quest
To clarify, the particular file that was giving me trouble was the basic "hello world" file. The original code on line 29 read as such: print 'Hello', name When I ran "C:\google-python-exercises> python hello.py, it gave me an error on that line (line 29), but when I changed that line to print ('He

Re: [Tutor] Running files from command prompt

2011-07-28 Thread Alexander Quest
Awesome- thanks for that Dave! The programs all work now, except that the google exercise programs are all from Python 2.X and I'm running 3.1, so some of them are giving me errors. Is there a way around this or do I have to download a 2.X version so I can run these without a problem? Thanks again.

Re: [Tutor] Running files from command prompt

2011-07-28 Thread Dave Angel
On 07/28/2011 09:58 PM, Alexander Quest wrote: I downloaded the google's python exercise files from their website ( http://code.google.com/edu/languages/google-python-class/set-up.html), unzipped them, and placed them in C. I then added the following to the PATH variable under system settings so

[Tutor] Running files from command prompt

2011-07-28 Thread Alexander Quest
I downloaded the google's python exercise files from their website ( http://code.google.com/edu/languages/google-python-class/set-up.html), unzipped them, and placed them in C. I then added the following to the PATH variable under system settings so that I could type "python" in command prompt and