On 2011/11/11 04:00 AM, Nathaniel Trujillo wrote:
Okay, I typed in python -c "import sys; print sys.version" at the command prompt. I didn't see a prompt ending with %. Instead I saw a prompt ending with >. But here is the message I got.
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\Users\net2010>python -c "import sys; print sys.version"
'python' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\net2010>
Thanks for the help.


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
R-Click on My Computer
-> Properties
-> Advanced
-> Environment Variables
-> Under "System Variables" find PATH, select it, and click Edit
-> Add your Python path to the end eg. c:\python27 (you will need to seperate it from all the other entries using a semi-colon, like c:\program files;c:\windows;c:\python27)
-> Click OK about 3 times till you've closed all the windows
-> Open a new Command Prompt and run python -c "import sys; print sys.version"

--

Christian Witts
Python Developer

//
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to