装完python后发现没有Edit with IDLE菜单项,在网上找到资料,亲测是直接导入以下注册表即可实现
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\SystemFileAssociations\.py\shell\Edit with IDLE\command]
@="\"D:\\Programs\\Python\\Python39\\pythonw.exe\" \"D:\\Programs\\Python\\Python39\\Lib\\idlelib\\idle.pyw\" \"%1\""
#路径改成自己python安装路径即可