python 右键没有EDIT with IDLE选项怎么办

时间:2024-10-12 09:32:36

1、右键点击系统图标,点击‘运行’

python 右键没有EDIT with IDLE选项怎么办

2、在‘运行’输入框中输入‘regedit’

python 右键没有EDIT with IDLE选项怎么办

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

python 右键没有EDIT with IDLE选项怎么办

4、我这里暂时没有,所以自己创建一个,命名如下图,注意py前面有个点(英文标点)

python 右键没有EDIT with IDLE选项怎么办
python 右键没有EDIT with IDLE选项怎么办

5、‘.py’右侧键值不管,‘shell’,'edit'的键值均为‘Edit with IDLE’即可

python 右键没有EDIT with IDLE选项怎么办

6、将’command‘的键值设置成:c:\python3\pythonw.exe罕铞泱殳c:\python3\Li芟鲠阻缒b\idlelib\idle.pyw-e%1注意,因我安装的是python3.4.3,但在c盘的文件夹是python3,这里文件路径就写python3,记得改成你自己的路径,否则无效

python 右键没有EDIT with IDLE选项怎么办
© 手抄报圈