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?


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 Jan 6 '15 at 17:07
  • Fixed it! Lol and i also added an option to "Edit with IDLE 2.7" XD – Kevin Jan 7 '15 at 0:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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