I have a simple hi.py python script
print "hi there, everyone!"
I can run that script at the Windows cmd by explicitly invoking the interpreter and give my script as input parameter:
C:\>python hi.py
hi there, everyone!
C:\
This implies that my path is set correctly to find the python interpreter, and that the python script hi.py is valid.
Now my objective is to run the script hi.py such that windows command implicitly finds the python interpreter. This is a feature that, as I understand correctly, should work out of the box. However, for some reason not with my Windows 7 installation, that responds as follows:
C:\hi.py
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\
Does anyone knows what is messed up here? Thank you for your time!