[英]Python IDLE hangs when opening/saving files
I just downloaded the latest Python IDLE 3.2 for Windows 7 (64-bit). 我刚刚下载了适用于Windows 7(64位)的最新Python IDLE 3.2。
I can open, edit, and save existing .py files, but if I open a new document and try to save it, IDLE hangs. 我可以打开,编辑和保存现有的.py文件,但是如果我打开一个新文档并尝试保存它,则IDLE会挂起。
After a few attempts, I tried using a regular text editor to create a hello world program (plain ASCII). 经过几次尝试,我尝试使用常规文本编辑器创建一个hello world程序(纯ASCII)。 But I cannot even open that file: IDLE hangs when trying.
但是我什至无法打开该文件:尝试时IDLE挂起。
I've searched the web and surprisingly found no hits for this problem. 我已经在网上搜索了,却出人意料地没有找到该问题的热门信息。 Does anyone have a workaround?
有人有解决方法吗?
It appears IDLE doesn't cope with paths that have spaces in them. 看来IDLE无法应付其中有空格的路径。 I worked around the problem by choosing directory paths that don't have spaces.
我通过选择没有空格的目录路径来解决此问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.