python : system environment variable set in windows

How to set system environment variable in windows?

Go to the below location.

My Computer > Properties > Advanced System Settings > Environment Variables >

Then under system variables I create a new Variable called PythonPath.

Just append your installation path (ex. C:Python27) to the PATH variable in System variables. Then close and open your command line and type ‘python’

environment setting for python
environment setting for python

.

Leave a Comment