Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Learn Python 3.0 or 2.x? [duplicate]

Tags:

python

Possible Duplicate:
Tutorial for Python - Should I use 2.x or 3.0?

I have decided to learn python. I have used in the past Java/c++/PHP/Action Script. Should I learn 3.0 or 2.x? Are the majority of libraries still in 2.x? Which book do you recommend? I posted this as I would like an up-to-date answer to this question.

Thanks

like image 789
Scott Avatar asked Nov 25 '25 23:11

Scott


1 Answers

Almost all production software is still written in python 2.x at the moment. You should learn python 2.x, as it is installed much more widely and has many more third party libraries available. Eventually the world will move to 3.x, but the differences are not massive so your effort learning 2.x will not have been wasted.

Have a look at this FAQ: http://wiki.python.org/moin/Python2orPython3

Unscientific snapshot: of available packages on pypi, there are 493 in python 3, of 11053 packages in total at time of writing (July 2011)

like image 151
kdt Avatar answered Nov 27 '25 11:11

kdt



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!