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

新手求教Python入门版本问题?python3现在用的多么?

  •  
  •   cloudbeyond ·
    elbertwang · Jan 9, 2011 · 7880 views
    This topic created in 5603 days ago, the information mentioned may be changed or developed.
    一直想学Python来着,正好最近有时间正在看a byte of Python

    但是发现他有两个版本,一个是针对python 2.X的,一个是针对python 3.x的

    新手入门的话是先看2.X的好呢?还是直接就看3.X的?

    现在一般都是用什么版本开发呢?比如V2EX,新手问题哈,砖轻轻的拍……
    5 replies    1970-01-01 08:00:00 +08:00
    Livid
        1
    Livid  
    MOD
    PRO
       Jan 9, 2011
    V2EX 基于 GAE,GAE 要求的 Python 版本是 2.5。
    cloudbeyond
        2
    cloudbeyond  
    OP
       Jan 9, 2011
    @Livid 明白了~对GAE平台也挺感兴趣的,看来目前就是学好2.X的就行了~
    CatChen
        3
    CatChen  
       Jan 9, 2011
    如果是为了使用,那就 2.x 吧。如果只是为了了解 Python 作为一门语言它所优美之处,那么你可以考虑从更加优美的 3.x 开始。

    我个人就抛弃 2.x 直接学 3.x 了,用的是 The Quick Python Book 第二版。反正我不需要用 Python 写 production code ,只是想了解一下并写写日用脚本而已。
    cloudbeyond
        4
    cloudbeyond  
    OP
       Jan 10, 2011
    @CatChen 这样啊,我就是冲着他优美想学来着,学校学的C++,自学的JAVA/C#,都不太精通只能做做小软件和网站。所以想学学python,打算以后跟Livid似的自己业余的时候开发个项目玩玩……
    xiangyuc
        5
    xiangyuc  
       Jan 10, 2011
    当初也是冲着python优美去了解的。其实2或3都可以,3的语法更符合常规些,2可以用的库比较多,2to3很方便,python已经提供相关工具了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3396 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 55ms · UTC 11:24 · PVG 19:24 · LAX 04:24 · JFK 07:24
    ♥ Do have faith in what you're doing.