cygwin 版本的空闲有错误的 I/O 处理
我在 Windows Vista 机器上通过 cygwin 使用空闲(python 2.5),当我尝试打开一个已经存在的 .py 文件时,我
/home/aaron/C:/cygwin/home/aaron/script.py
在新打开的文件窗口的横幅上看到了完整的文件路径,而我只是期望
/home/aaron/script.py
此外,文件显示为空白,这是有道理的...基本上闲置是在某个虚构的路径中打开一个不存在的文件。那么是什么原因导致了这个问题以及如何解决呢?有人吗?
I am using idle (python 2.5) via cygwin on a windows vista machine and when I try to open an already existing .py file I see the full file path
/home/aaron/C:/cygwin/home/aaron/script.py
on the banner of the freshly openned file window when I expect simply
/home/aaron/script.py
In addition, the file appears blank which makes sense...basically idle is opening up a nonexistent file in some fictitious path. So what is causing the problem and how to fix? Anyone?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我有同样的问题,但我发现解决方法是使用
File->Path Browser
菜单。从那里我可以找到.py
文件并通过双击文件名将其打开。I have the same problem, but I found a workaround is to use
File->Path Browser
menu. From there I can find the.py
file and open it by double clicking the file name.