解决:python右键没有Edit with IDLE

打开注册表

在HKEY_CLASSES_ROOT\SystemFileAssociations中添加.py\shell\Edit with IDLE\command;
修改HKEY_CLASSES_ROOT\SystemFileAssociations\.py\shell\Edit with IDLE\command
command的值为"C:\\Users\\nielili\\AppData\\Local\\Programs\\Python\\Python37\\pythonw.exe" "C:\\Users\\nielili\\AppData\\Local\\Programs\\Python\\Python37\\Lib\\idlelib\\idle.pyw" -e "%1"

可根据python安装路径修改command的值。

保存,并刷新;

猜你喜欢

转载自blog.csdn.net/nielilijy/article/details/84302767
今日推荐