python右键不显示IDLE

打开注册表,在HKEY_CLASSES_ROOTSystemFileAssociations中添加.pyshellEdit with IDLEcommand(右键 ->‘新建’ ->项  逐层添加文件夹)

将HKEY_CLASSES_ROOTSystemFileAssociations.pyshellEdit with IDLEcommand中

command的值设置为"D:Python27pythonw.exe" "D:Python27Libidlelibidle.pyw" -e "%1"

                  

      右击.py文件,出现Edit with IDLE,大功告成。

原文地址:https://www.cnblogs.com/Jacklovely/p/5743786.html