0

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

1

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

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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