a****o 发帖数: 298 | 1 现在在学python
看一本书叫Oreilly.Learning.Python.4th.Edition
书上都是在用3.0版本的
可是刚才看到有人写 主流还是2.x
请问应该学2.x吗 | m*****g 发帖数: 54 | 2 If you are new to python, I suggest you start with 3.x.
It is not that hard to pick up 2.x once you know 3.x. and the only reason
you need to learn 2.x is to work on
some legacy code that already written in 2.x.
【在 a****o 的大作中提到】 : 现在在学python : 看一本书叫Oreilly.Learning.Python.4th.Edition : 书上都是在用3.0版本的 : 可是刚才看到有人写 主流还是2.x : 请问应该学2.x吗
| i*****f 发帖数: 578 | 3 Some python packages/modules still don't support 3.x. So if you want
backward compatibility, then 2.x is the way to go. Specifically 2.7 has many
3.x features but is backward compatible.
3.x provides better syntax, better library organization, etc. So it's the
trend in the long run.
【在 a****o 的大作中提到】 : 现在在学python : 看一本书叫Oreilly.Learning.Python.4th.Edition : 书上都是在用3.0版本的 : 可是刚才看到有人写 主流还是2.x : 请问应该学2.x吗
|
|