如何将IDLE恢复为出厂设置 [英] How to restore IDLE to factory settings

查看:506
本文介绍了如何将IDLE恢复为出厂设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我搞砸了Python IDLE中的首选项",并且无法编辑窗口的大小.因此,我右键单击显示宽度和高度"的窗口尺寸,然后得到一个荒谬的宽度尺寸!

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!

现在,IDLE甚至都不会打开.我尝试将其卸载并再次安装,但无法正常工作.我有一台Mac.如何重置IDLE?

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?

推荐答案

假设您的意思是Idle(Python随附),关闭Idle,然后在Terminal中键入:

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

mv ~/.idlerc ~/.idlerc-save

这篇关于如何将IDLE恢复为出厂设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆