python 2.6 or python 3.1?

前端 未结 8 808
借酒劲吻你
借酒劲吻你 2021-01-02 20:21

I am about to learn Python and was wondering what is recommended, learning python 2.6 or 3.1? (any tips on learning python is welcomed as well =)


edit: Is the

8条回答
  •  既然无缘
    2021-01-02 20:35

    • If you're looking to develop software right now stick with Python 2.6.
    • If you're looking to learn the language and experiment go with Python 3.1.

    Python 3.1 doesn't have the same library support (yet!) as Python 2.6, so you'll encounter difficulties working with existing software projects. If you're not pressed to produce a working product at this very moment, I'd suggest trying out Python 3.1. And there is no better place to start than Dive Into Python 3, as has been mentioned by Clint. Good luck!

    UPDATE 2011-2-27: I'd say that support for Python 3 is improving constantly and you might want to check and see if your project can't be done with Python 3. There's a website devoted to tracking support for Python 3: http://getpython3.net/

提交回复
热议问题