I have installed pyton 2.7.3 in my localmachine (windows 7 ) and as instructed in http://docs.python.org/tutorial/interpreter.html and I tried to set path using cmd prompt.
set path=%path%;C:\python27
But when I typed python in command line this error is showing
Traceback (most recent call last): File"<stdin>",line 1, in <module>
Nameerror:name 'python' is not defined
I also tried to add path manually
Start Menu > Control Panel > System & Security > System > Advanced System Settings/
Under System variables-path->edit and added this code ;C:\python27
But still when I type python in command line I get the same error
What should I do?
You must be doing the second part, executing
pythoncommand in python interpreter itself.