84669 Lernen von Personen
152542 Lernen von Personen
20005 Lernen von Personen
5487 Lernen von Personen
7821 Lernen von Personen
359900 Lernen von Personen
3350 Lernen von Personen
180660 Lernen von Personen
48569 Lernen von Personen
18603 Lernen von Personen
40936 Lernen von Personen
1549 Lernen von Personen
1183 Lernen von Personen
32909 Lernen von Personen
现在一般使用python3还是python2?
认证0级讲师
我们在用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 以前的基本被废弃了)
我在用2.7 感觉2.7更多吧
我们在用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 以前的基本被废弃了)
我在用2.7 感觉2.7更多吧