Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The standard way to install Python on Windows seems to be run the executable and then fiddle with the environmental variables. eg see here or here.

The people I deal with would be intimidated having to modify their environmental variables. So how can someone install Python on Windows and run Python scripts without having to fiddle them?

Perhaps an installer that sets the environmental variables, or a batch script that uses the full paths?

share|improve this question
What environmental variables? If you just want to double-click on .py files to run them, you don't need environmental variables; you only need to set .py files to be opened with Python. – Sasha Chedygov Jan 21 '11 at 2:05
You only need to set the environment variables if you want to run python from the command line without typing out the full path to the executable. Probably not something that a user will be doing unless they're fairly savvy anyway. – Swiss Jan 21 '11 at 2:15
up vote 1 down vote accepted

In Python 3.3 there's a new option for automatically adding Python to PATH environment variable.

Besides using the automatically created start menu entry for the Python interpreter, you might want to start Python in the command prompt. As of Python 3.3, the installer has an option to set that up for you.

At the “Customize Python 3.3” screen, an option called “Add python.exe to search path” can be enabled to have the installer place your installation into the %PATH%. This allows you to type python to run the interpreter. Thus, you can also execute your scripts with command line options, see Command line documentation.

However Python's installer on Windows by default associates Python files with Python interpreter so users can run Python scripts just by clicking Python script or a link to it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.