I installed the 2.5.6 version from http://www.python.org/download/releases/2.5.6/ (the .tgz). It seems to have installed correctly, but I am having problems when I go to use it. I open up the command-line version, and it looks OK, but if I type any commands and try to execute them it gives me errors.
This is my first venture into Python, and I could be doing this completely wrong. I am also unable to change directories using the command line. I have a sample program in a directory: ex1.py. I see the following in my command prompt:
Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64-bit (AMD64)] on Windows 32 Type "help", "copyright", "credits" or "license" for more information. >>>
I entered the following:
>>> python ex1.py
The following message returned:
File "<stdin>", line 1 python ex1.py ^ SyntaxError: Invalid syntax
Now it could be a syntax error, but I do not see anything; it is a simple "Hello world" program. I am not comfortable with the install and fear I may have screwed things up.