Unable to Recognize "python" as a Command
When attempting to run Python sample programs in a Windows XP environment after installing Python 2.7.2, you may encounter an error message indicating that "python" is not recognized as a command. To resolve this issue, the Python executable needs to be added to the Windows PATH variable.
Procedure:
Once the path is set correctly, the command "python" should be recognized, and you will be able to execute Python programs successfully.
The above is the detailed content of Why Can\'t I Run Python on Windows XP?. For more information, please follow other related articles on the PHP Chinese website!