安装python右键没有EDIT WITH IDLE的解决办法

1、运行cmd--regedit

2、找到‘HKEY_CLASSES_ROOT\SystemFileAssociations’,点开文件夹,往下找,看是否有‘.py’的文件夹

3、目录下找.py,如果没有,则新建项.py-->shell-->edit-->command

4、依次进行创建项,并修改数据

shelledit数据值为 EDIT WITH IDEL

command‘的键值设置成:c:\python3\pythonw.exe c:\python3\Lib\idlelib\idle.pyw -e %1

(格式为pythonw.exe路径 python安装文件中\Lib\idlelib\idle.pyw的路径 -e %1

猜你喜欢

转载自www.cnblogs.com/lwpp/p/9461069.html