简体   繁体   English

与Mac OS X Snow Leopard一起发售的Python版本?

[英]Python version shipping with Mac OS X Snow Leopard?

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! 谢谢!

It ships with both python 2.6.1 and 2.5.4. 它附带python 2.6.1和2.5.4。

$ python2.5 $ python2.5

Python 2.5.4 (r254:67916, Jul 7 2009, 23:51:24) Python 2.5.4(r254:67916,2009年7月7日,23:51:24)

$ python $ python

Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51) Python 2.6.1(r261:67515,2009年7月7日,23:51:51)

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,但它足够接近。

Python 2.6.1 Python 2.6.1

(according to the web) (根据网络)

Really good to know :) 真的很高兴知道:)

你可以从python.org获得2.6.2的安装程序,没有理由不去。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM