cygwin 版本的空闲有错误的 I/O 处理

发布于 2024-08-12 00:50:30 字数 314 浏览 1 评论 0原文

我在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

静若繁花 2024-08-19 00:50:30

我有同样的问题,但我发现解决方法是使用 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文