[Tutor] Okay, this time I tried doing a little research but no luck in solving this one.

Christian Witts cwitts at compuscan.co.za
Fri Nov 11 12:54:42 CET 2011

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 at 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 


Christian Witts
Python Developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111111/ac29764d/attachment.html>

More information about the Tutor mailing list