macos Mac OS X Snow Leopard 附带的 Python 版本?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1347376/
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
Python version shipping with Mac OS X Snow Leopard?
提问by Julio Gorgé
I would appreciate it if somebody running the final version of Snow Leopard could post what version of Python is included with the OS (on a Terminal, just type "python --version")
如果有人运行 Snow Leopard 的最终版本可以发布操作系统包含的 Python 版本(在终端上,只需键入“python --version”),我将不胜感激
Thanks!
谢谢!
采纳答案by christianbrodbeck
回答by ACoolie
It ships with both python 2.6.1 and 2.5.4.
它随 python 2.6.1 和 2.5.4 一起提供。
$ python2.5
Python 2.5.4 (r254:67916, Jul 7 2009, 23:51:24)
$ python
Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51)
$ python2.5
Python 2.5.4(r254:67916,2009 年 7 月 7 日,23:51:24)
$蟒蛇
Python 2.6.1(r261:67515,2009 年 7 月 7 日,23:51:51)
回答by jnoller
bot:nasuni jesse$ python
Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
Probably the biggest reason I went and upgraded this morning, it's not 2.6.2, but it's close enough.
可能是我今天早上去升级的最大原因,不是2.6.2,但已经足够接近了。
回答by aehlke
Python 2.6.1
蟒蛇 2.6.1
(according to the web)
(根据网络)
Really good to know :)
真的很高兴知道:)
回答by snarkyname77
You can get an installer for 2.6.2 from python.org, no reason to go without.
您可以从 python.org 获得 2.6.2 的安装程序,没有理由不去。