平时需要打来python文件,用pycharm等工具太卡,python自带的Edit with IDLE方便好用
但通过安装conda获得python环境,却没有这样的菜单,通过以下方式,快速解决问题。

  1. 找到conda安装路径下的idle,本机为 C:\ProgramData\Anaconda3\Lib\idlelib
  2. 找到conda的python路径本机为:C:\ProgramData\Anaconda3
  3. 打开注册表,计算机\HKEY_CLASSES_ROOT\SystemFileAssociations.py\shell\Edit with IDLE\command(注:没有相应文件,就新建项)
  4. 最后在command下,双击默认,添加:“C:\ProgramData\Anaconda3\pythonw.exe” “C:\ProgramData\Anaconda3\Lib\idlelib\idle.pyw” “%1”
    安装annoconda右键.py没有Edit with IDLE(即安装python自带的编辑器)问题解决
    最后点击确定即可解决。

相关文章:

  • 2021-06-01
  • 2022-01-13
  • 2021-08-21
  • 2021-10-10
  • 2021-12-03
  • 2021-11-19
  • 2022-12-23
  • 2021-12-21
猜你喜欢
  • 2021-09-28
  • 2021-05-09
  • 2021-07-07
  • 2021-06-11
  • 2021-10-31
  • 2022-01-04
相关资源
相似解决方案