Search for the following key in regedit: HKEY_CLASSES_ROOT\*\shell Right click on “shell”, choose create new key.
Name it “Edit with IDLE" Create a new key below that one and call it “command.” Now double click on the (Default) value that you will find in the right hand pane, and type in the following: python.exe %1 (or if you don't have it in your PATH, then put in the absolute python directory, ie: C:\Python27\bin\python.exe) -- http://mail.python.org/mailman/listinfo/python-list