I installed the 2.5.6 version from the following site: 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 "", line 1 python ex1.py ^ SytnaxError: 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 of screwed things up.