现在一般使用python3还是python2?
PHP中文网
PHP中文网 2017-04-17 15:41:12
0
28
1292

现在一般使用python3还是python2?

PHP中文网
PHP中文网

认证0级讲师

Antworte allen(28)
伊谢尔伦

我们在用python3

左手右手慢动作

python2多一点吧,但未来估计python3会越来越多

黄舟

得看公司有多古老 :(

洪涛

Linux自带的就是2啊,而且很多服务都是依赖的2

迷茫

2.6、2.7算是支持比较多的吧,github上经常会有<python3,;
再等等

左手右手慢动作

Python2

大家讲道理

新学直接上3

巴扎黑

在某乎上有过类似的问题,可以参考一下
http://www.zhihu.com/question/24549965

阿神

从开源项目可以看出,新项目基于或支持Python3 的比例已经大大提高。
知名的开源项目一般都是支持python2.7 和 python3+, 也有例外,比如Scrapy 只支持Python2.7。

如果是新项目,并且对已有项目没有依赖,建议选择Python3.3+。
否则选择Python2.7 (2.7 以前的基本被废弃了)

Peter_Zhu

我在用2.7 感觉2.7更多吧

Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!