To check the location of python in the computer, that is, the path of python, first make sure that python has been successfully installed on the computer. To verify whether the installation is successful, open the command line and enter python. If no error is reported, the installation is successful. As follows
Next we check the path of python. The simplest method: enter where python on the command line to return the path of python. As shown below
# you can see that the path of my python is: C:\study\python\, in the study folder under the C drive
The above is the detailed content of How to check python path. For more information, please follow other related articles on the PHP Chinese website!