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.成功解决。
右键没有Edit with IDLE解决方法
最新推荐文章于 2025-04-01 08:47:20 发布