How to restore IDLE to factory settings

末鹿安然 提交于 2020-01-20 08:42:25

问题


I was messing with the Preferences in Python IDLE and I couldn't edit the size of the window. So I right clicked on the windows size where it says "Width and Height" and got a ridiculous size for width!

Now IDLE wont even turn on. I tried uninstalling it and installing it again but it doesn't work. I have a Mac. How do I reset IDLE?


回答1:


Assuming you mean Idle (which comes with Python), close Idle, then in Terminal, type:

mv ~/.idlerc ~/.idlerc-save



回答2:


I know you're using Mac, but here's how to reset WinPython's IDLEX:

Go to the install location -> open settings -> rename .idlerc to idlerc.bak

Note: If you want to restore it, Windows will not let you rename idlerc.bak back to .idlerc. So you will need to launch IDLEX, close it, then copy the files from idlerc.bak into .idlerc.



来源:https://stackoverflow.com/questions/17328538/how-to-restore-idle-to-factory-settings

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!