Aquí hay un archivo de registro para agregar el comando para editar con IDLE para los tipos de archivo Python.File(.py) y Python.NoConFile(.pyw). Es para Python 2.7, instalado en C:\Python27, así que sustituya las rutas pythonw.exey idle.pywque sean relevantes para su instalación. Guárdelo en un archivo .reg. Luego haga clic derecho y elija Merge.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Python.File\shell\Edit with IDLE\command]
@="\"C:\\Python27\\pythonw.exe\" \"C:\\Python27\\Lib\\idlelib\\idle.pyw\" -e \"%1\""
[HKEY_CLASSES_ROOT\Python.NoConFile\shell\Edit with IDLE\command]
@="\"C:\\Python27\\pythonw.exe\" \"C:\\Python27\\Lib\\idlelib\\idle.pyw\" -e \"%1\""