I have just installed Python on my Windows 7. I thought that after that I will be able to run python on the command prompt but it is not the case. After the installation I also found out that I can run the python command shell. This is nice. But what should I do if I want to save my program in a file and then I want to run this program (in Linux, for example, I typed “python file_name.py” in the command line).
Share
You need to add the python bin directory to your path. Follow the instructions here and add
c:\python26\binto the path (unless you installed python in a non-default location).