python右键不显示IDLE

来源:互联网 发布:怎么在电脑上清理数据 编辑:程序博客网 时间:2024/05/16 17:02

       打开注册表,在HKEY_CLASSES_ROOT\SystemFileAssociations中添加.py\shell\Edit with IDLE\command(右键 ->‘新建’ ->项  逐层添加文件夹)

将HKEY_CLASSES_ROOT\SystemFileAssociations\.py\shell\Edit with IDLE\command中

command的值设置为"D:\Python27\pythonw.exe" "D:\Python27\Lib\idlelib\idle.pyw" -e "%1"

                  

      右击.py文件,出现Edit with IDLE,大功告成。
0 1
原创粉丝点击