When i right-click a python file in windows, there's normally that "edit with IDLE" option, which is a great help. Unfortunately, on the computer I'm using right now I installed both python 3.4 and python 2.7, and now the "edit with idle" option defaults to python 2.7, instead of what I use more, python 3.4. Is there any way of fixing this issue and changing the "edit with idle" to default to 3.4, short of uninstalling one of them and reinstalling?

1 Answer 1


Update the following registry key to change to a different python version:

HKEY_CLASSES_ROOT\Python.File\shell\Edit with IDLE\command

  • Getting an error "cannot edit: error writing the value's new contents" but i guess thats because I'm not being an admin right now
    – Kevin
    Commented Jan 6, 2015 at 17:07
  • Fixed it! Lol and i also added an option to "Edit with IDLE 2.7" XD
    – Kevin
    Commented Jan 7, 2015 at 0:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .