解决: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的值。

 

保存,并刷新;

你可能感兴趣的:(解决:python右键没有Edit with IDLE)