Home  >  Q&A  >  body text

现在一般使用python3还是python2?

现在一般使用python3还是python2?

PHP中文网PHP中文网2742 days ago1321

reply all(28)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 15:43:12

    We are using python3

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 15:43:12

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

    reply
    0
  • 黄舟

    黄舟2017-04-17 15:43:12

    It depends on how old the company is :(

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 15:43:12

    Linux comes with 2, and many services depend on 2

    reply
    0
  • 迷茫

    迷茫2017-04-17 15:43:12

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

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 15:43:12

    Python2

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 15:43:12

    New students can go directly to level 3

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 15:43:12

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

    reply
    0
  • 阿神

    阿神2017-04-17 15:43:12

    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)

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 15:43:12

    I am using 2.7, I think 2.7 is more suitable

    reply
    0
  • Cancelreply