python install and environment variables

Download: Under www.python.org, windows, installed after downloading directly

python3

python2

Configuration environment variable

CMD in c: \ Python35-32 \ python.exe D: \ 1.py # performs D disk file (do not deserve an environment variable)

Computer - Properties - Advanced System Settings - bike -path in the environment than +; c: \ Python35-32

After configuring the environment variables

cmd in the python D: \ 1.py (path without any increase in front, with environment variables)

Guess you like

Origin www.cnblogs.com/w837984063/p/11093082.html