推荐学习书目
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 · 5018 views
    This topic created in 5113 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语法更合理,但是第三方库支持比较少
    0racleTink
        4
    0racleTink  
       May 25, 2012
    我觉得3改了好多啊,还是在用2.7
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1178 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 17:46 · PVG 01:46 · LAX 10:46 · JFK 13:46
    ♥ Do have faith in what you're doing.