Setting path for Python

Windows allows environment variables to be configured permanently at both the User level and the System level, or temporarily in a command prompt. In order to run Python conveniently from a command prompt , you might consider changing some default environment variables in Windows.

To temporarily set environment variables, open Command Prompt and use the set command:

To permanently modify the default environment variables:

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

  1. Right-click 'My Computer'.
  2. Select 'Properties' at the bottom of the Context Menu.
  3. Select 'Advanced system settings'
  4. Click 'Environment Variables...' in the Advanced Tab
  5. Under 'System Variables': Click Edit

Add python's path to the end of the list (the paths are separated by semicolons(;))

How to add to the pythonpath in windows

Using Python from a command window

Open a command prompt window (press Windows+R, type in cmd, and hit enter).

Just type "python" on the command line and see if you get an error or not. If you see a response from a Python interpreter it will include a version number in its initial display.

Python Download and install

Success, now you can start programming on Python .
 (C) 2019    Founded by raps mk
All Rights Reserved. All other trademarks are property of their respective owners.
SiteMap  | Terms  | About