配置IDLE时Python冻结 [英] Python freezes when configuring IDLE
问题描述
因此,最近我在IDLE程序本身中使用了Python主题函数.我下载了三个主题并构建了自己的主题,现在选择了它们.问题是,我忘了设置信号灯和高光的颜色,这是一个很大的问题.当我去看看是否可以更改回默认设置时,当我在选项下选择配置IDLE"时,Python IDLE就会停滞不前.我仍然可以滚动浏览文件,尝试关闭窗口并将其最小化,等等,但是它只是冻结了.我无法关闭它或继续使用该文件.我已经删除了Python,然后重新安装了它,但是没有用,我应该手动删除主题并强制IDLE使用原始主题,还是有办法解决这个问题?
So, recently I was using the Python theme function for the IDLE program itself. I downloaded three themes and built my own one, which is selected now. The problem is, I forgot to set colours for the blinker and highlighting, which is hugely problematic. When I went to see if I could change back to the default setting, Python IDLE simply froze up when I selected 'Configure IDLE' under options. I can still scroll through the file, attempt to close the window and minimise it etc, but it has just frozen up. I can't close it or continue working with the file. I've removed Python and then reinstalled it but that hasn't worked, should I just manually delete the themes and force IDLE to use the original one, or is there a way to fix this?
我正在Windows 8.1上运行Python 2.7.
I am running Python 2.7 on Windows 8.1.
谢谢
推荐答案
原来,一种方法是手动删除有问题的主题.这样可以打开配置IDLE"菜单.哎呀.
Turns out one way is manually deleting the faulty theme. This allows the Configure IDLE menu to open. Whoops.
这篇关于配置IDLE时Python冻结的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!