Hi Allen,

I pretty much figured that was the case, and a common mistake among new Python programmers. What a lot of new Python programmers often don't know is that while say Python 3.2 is the latest production version a lot of modules, libraries, and APIs have not been updated to support Python 3.x yet. Its for that reason that Python 2.7 is still being updated and maintained side by side with 3.x. As it happens version 2.7.3 was released only a couple of weeks ago so you could say it is the current version as well. However, it is more fair to say that version 3.2 and 2.7 are being developed at the same time, and which you decide to use for a Python project depends on if you need any APIs not yet updated to support Python 3.x or not. Eventually, version 3.x will become the standard production release, but mostdevelopers still use 2.7 for the majority of software development.

As far as the difference between Python 2.7.3 and Pygame 1.9 there is a huge difference. Python 2.7.3 is the current Python runtime environment and interpreter. Pygame 1.9 is a game development package or API for Python 2.7 that allows you to handle graphics, input, audio, networking, etc for games. If you are trying to write a game in Python you will need both the Python 2.7.3 runtime environment as well as Pygame for developing games. That is assuming you want audio, graphics, networking, etc. If you are writing a simple text basede game then you wouldn't need Pygame.

HTH


On 5/20/2012 11:49 AM, Allen wrote:
Hello, Thomas,

Thanks for the info. I had chosen 3.2 only because I thought that it was always a good idea to get the latest version. Apparently, I was mistaken here.

Maybe a dumb question, but what is the difference between Python 2.7.3 and Pygame 1.9? Why do I need both?

Thanks

Allen
[email protected]



---
Gamers mailing list __ [email protected]
If you want to leave the list, send E-mail to [email protected].
You can make changes or update your subscription via the web, at
http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/[email protected].
If you have any questions or concerns regarding the management of the list,
please send E-mail to [email protected].

Reply via email to