win10下右键Edit with IDLE会出现一个__pycache__文件夹的解决办法

解决办法:编辑注册表

1. 打开注册表编辑器

2. 在打开的注册表中找到以下目录:

HKEY_CLASSES_ROOT -> Python.File -> Shell -> editwithidle -> shell -> edit36-32 -> command

3. 右键编辑,将数值改为:

C:\Python36\pythonw.exe C:\Python36\Lib\idlelib\idle.pyw -e %1
// 注: 这里的"C:\Python36\"指的是python的安装路径

猜你喜欢

转载自blog.csdn.net/AnonymKing/article/details/82831245