Python 3 没有空闲?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1630728/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
No IDLE for Python 3?
提问by NotSuper
I installed Python 3.1 yesterday on my Windows Vista PC, and was surprised to find that the version of IDLE is 2.6.4, for "Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)] on win32"
我昨天在我的 Windows Vista PC 上安装了 Python 3.1,并惊讶地发现 IDLE 的版本是 2.6.4,对于“Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v .1500 32 位(英特尔)] 在 win32"
I was hoping to use IDLE to investigate some of the new features of Python 3...
我希望使用 IDLE 来研究 Python 3 的一些新特性......
I guess I'm stuck with the command line...
我想我被命令行困住了......
Anyone know what's up with Python 3's IDLE?
有人知道 Python 3 的 IDLE 是怎么回事吗?
Thanks
谢谢
回答by NotSuper
Got it! I changed the Target of the shortcut to "c:\Python31\pythonw.exe" "c:\Python31\Lib\idlelib\idle.pyW" (with the quotes), and now the shortcut (and shortcut key) open version 3.1.1 of IDLE. Idea was from the 1st answer to the question at How to start IDLE (Python editor) without using the shortcut on Windows Vista?
知道了!我将快捷方式的目标更改为“c:\Python31\pythonw.exe”“c:\Python31\Lib\idlelib\idle.pyW”(带引号),现在快捷方式(和快捷键)打开版本 3.1 .1 的空闲。想法来自如何在不使用 Windows Vista 上的快捷方式的情况下启动空闲(Python 编辑器)问题的第一个答案?
回答by surf
Type 'idle3' in the terminal window. That should launch your copy of idle 3.1
在终端窗口中输入“idle3”。那应该启动您的空闲 3.1 副本