推荐学习书目
› 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
linus
V2EX  ›  Python

python2 和 3,如何选择?

  •  
  •   linus · Mar 6, 2015 · 4675 views
    This topic created in 4270 days ago, the information mentioned may be changed or developed.
    10 replies  •  2015-03-07 12:56:28 +08:00
    wuhang89
    wuhang89
    Mar 6, 2015
    2
    不用纠结了,直接python3
    simon7
    simon7
    Mar 6, 2015 via iPhone
    3
    工作用就Python 2,我换成Python 3硬生生被逼回来。
    slowgen
    slowgen
    PRO
    Mar 6, 2015
    4
    之前打算快速入门下py然后搞搞gui和爬虫,一开始看的是3,也坚信py发展了那么久,肯定有很多库迁移到3了吧...到后面动手的时候跪了...老老实实换回py2...然后立马被乱码糊了一脸...只能从头看起了
    li2150
    li2150
    Mar 6, 2015
    5
    用2。我现在用3,很多库都没有迁移到3,很多库迁移到3但是各种鸟问题。现在我是骑虎难下,早知道当初老老实实用2就好了……
    li2150
    li2150
    Mar 6, 2015
    6
    @li2150 对了,补充一句。之所以骑虎难下,是因为学了3之后再去学2总有点开历史倒车的感觉。而先学了2再学3就可以美其名曰赶上历史的潮流……
    eriale
    eriale
    Mar 6, 2015❤️1
    7
    我想,等这个全部变绿,新手就可以py3上路了。http://python3wos.appspot.com/
    leeyanjie
    leeyanjie
    Mar 7, 2015
    8
    等linux主流发行版默认设置为python3时,估计3才能大规模替代2。
    kidblg
    kidblg
    Mar 7, 2015
    9
    用2吧,毕竟现在很多框架都是2,要工作效率就用2。
    crazycookie
    crazycookie
    Mar 7, 2015
    10
    暂时无视python3 就对了
    因为 语言是用来用的,现在肯定是2的生产力最强
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4381 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 71ms · UTC 08:03 · PVG 16:03 · LAX 00:03 · JFK 03:03
    ♥ Do have faith in what you're doing.