I'm new to Windows 7 and with my Python installation. When I specify script.py
in cmd.exe
and hit Return/Enter, instead of executing the python file, I am given an error message (sth like "not a command").
How do I tell Windows to run the Python interpreter when specifying or double-clicking a Python script?