Hello.
Tell me please, which Python is better to learn and use? 2 or 3?
Are there any libraries for games, sound in Python 3?
Thanks in advance!

Thumbs up

Well it is all your choice.
If you learn python 3, wel... then you can say that you have the latest version of python.
But if you are learning python 2, it is a little better.
Because if you make a game in python 3, you will have to make a driver for other people to play the game in python.
Because python 2 is a little bit more stable than python 3.
And with python 2 you can get a lot more tutorials than python 3.
Because python 2 is a little older than python 3, so more people created tutorials for python 2.
You will also find that python 2 has a little bit more librarys than python 3, altho some of the librays are going to be ported for python i guess.
Hope it helps you.
As i said it is all your choice.

Thumbs up

I personally believe Python 2 right now, as at least in terms of Python 3 and writing audio games, you'd be breaking new ground. Not a bad thing, depends if you're happy to invest the research time required though.

Python 3 overall is better, but adoption has been... rocky. For whatever reason. So you won't get all the good stuff that Python 3 brings. You'll have to find things that fill in that gap if you need them.

Thumbs up

@ashleygrobler04, Python3 is probably far more stable than Python 2 is. The only reason I'd suggest Python2 is because currently there are more libraries available for it. Python3 is the new and revised Python, as they say. I don't get why people won't switch to Python3... but hey, when Python2 is officialy deprecated, it will be their fault. Either way, I'd go for Python3. It has far more features and is far easier to use.

Thumbs up

Go with whatever you are comfortable with, the language are not that different in terms of sintax. And if you discover that you didn't make the right choise, you can easyly switch.

Thumbs up

Python 3 makes a number of improvements over Python 2, proper Unicode support for example. The problem though was that Python 3 completely broke compatibility with Python 2 in the process, along with all of its 3rd party libraries. This naturally caused a bit of a rift in the community and adoption for Python 3 has been quite slow.

Over the decade since its release though compatibility with Python 3 has considerably improved and is now supported by many libraries, but not all of them. There's also an extensive catalog of tutorials around for Python 2 still available, and Python 2 can usually run Python 3 scripts without much trouble.

You can read up on it further [here] and [here].

Thumbs up