Pygame and Tkinter

Nick Dumas drakonik at gmail.com
Sat Jun 28 11:56:25 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm doing a project with Pygame, a Snake game, and I've just taken a
look at Tkinter and I really like how easy it is to build a GUI with it.
The thing is that I don't know how I would use Tkinter and Pygame in
conjunction. They seem to have some overlapping functionality (event
handling and window drawing) so I'm not sure which tool I should use for
which. Should I code the GUI and game in Pygame? Could I possibly embed
the game in a Tkinter window/frame/widget? I would like to hear ideas on
this; it's a very important project and I'd like to do it well.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhmXykACgkQLMI5fndAv9giRwCgn/Zu2MGk+tKxHx+x+dkxSjvN
l5MAoITZ0K8ekV6mgbvOGpTAreznahcv
=Br5C
-----END PGP SIGNATURE-----



More information about the Python-list mailing list