右键没有Edit with IDLE解决方法

1.window+r,输入regedit打开注册表编辑器。
在这里插入图片描述
2. 打开HKEY_CLASSES_ROOT\SystemFileAssociations。
在这里插入图片描述
3. 在SystemFileAssociations下,递归创建目录:.py\shell\Edit with IDLE\command。
在这里插入图片描述
4. 编辑 command 值。
数值数据为:“D:\Program Files (x86)\Python\pythonw.exe” “D:\Program Files (x86)\Python\Lib\idlelib\idle.pyw” -e “%1”(具体根据你的安装路径修改)
在这里插入图片描述
5.成功解决。
在这里插入图片描述

发布了13 篇原创文章 · 获赞 18 · 访问量 4011

猜你喜欢

转载自blog.csdn.net/qq_19659617/article/details/104055217
今日推荐