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

现在一般使用python3还是python2?

PHP中文网
PHP中文网

认证0级讲师

reply all(28)
伊谢尔伦

We are using python3

左手右手慢动作

There are more python2, but it is estimated that there will be more and more python3 in the future

黄舟

It depends on how old the company is :(

洪涛

Linux comes with 2, and many services depend on 2

迷茫

2.6 and 2.7 are relatively supported. There are often <python3,;
on github Wait a moment

左手右手慢动作

Python2

大家讲道理

New students can go directly to level 3

巴扎黑

There has been a similar problem on someone, you can refer to it
http://www.zhihu.com/question/24549965

阿神

As can be seen from open source projects, the proportion of new projects based on or supporting Python3 has greatly increased.
Well-known open source projects generally support python2.7 and python3+, but there are exceptions. For example, Scrapy only supports Python2.7.

If it is a new project and has no dependencies on existing projects, it is recommended to choose Python3.3+.
Otherwise, choose Python2.7 (pre-2.7 is basically abandoned)

Peter_Zhu

I am using 2.7, I think 2.7 is more suitable

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template