Last active
August 29, 2015 14:14
-
-
Save JasYoung315/f6f54c5eb4320ee4910a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Running from command line | |
To run python from the command line in windows, it must be added to the PATH environment variable. | |
Depending on the version of windows, finding the PATH variable is slightly different. | |
Windows 8 | |
Click on Control Panel > System > Advanced | |
Click on Environment Variables, under System Variables, find PATH, and click on it, then click the edit button. | |
Windows 7 | |
Select Computer from the Start menu | |
Choose System Properties from the context menu | |
Click Advanced system settings > Advanced tab | |
Click on Environment Variables, under System Variables, find PATH, and click on it, then click the edit button | |
Windows XP | |
Start > Control Panel > System > Advanced | |
Click on Environment Variables, under System Variables, find PATH, and click on it, then click the edit button. | |
Add Python directory to the end of the PATH variable by adding | |
C:PythonXX; | |
(where XX is the first two numbers of the version) to the end of the variable. | |
Make sure that there is a semi colon before the C:PythonXX; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment