推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
youngershen
V2EX  ›  Python

python 2.* 和3.*有什么不同?为何会同时有2个版本在开发??

  •  
  •   youngershen ·
    youngershen · May 25, 2012 · 5325 views
    This topic created in 5243 days ago, the information mentioned may be changed or developed.
    4 replies  •  1970-01-01 08:00:00 +08:00
    shiweifu
        1
    shiweifu  
       May 25, 2012
    python 3加入了一些新特性,而且部分语法做了改动,与python 2不兼容(官方提供一个转换工具)。
    因为python 2目前大量使用,所以python 2也在维护
    youngershen
        2
    youngershen  
    OP
       May 25, 2012
    @shiweifu thx,在家感觉怎么样啊!!!
    tioover
        3
    tioover  
       May 25, 2012
    3语法更合理,但是第三方库支持比较少
    Choutreeman
        4
    Choutreeman  
       May 25, 2012
    我觉得3改了好多啊,还是在用2.7
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2263 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 00:21 · PVG 08:21 · LAX 17:21 · JFK 20:21
    ♥ Do have faith in what you're doing.