I've looked at a couple of frameworks and modules for Python recently. Most notably: PyGame (more on that in an other blog), Twisted and PyGTK+ (a standard Python library nowadays). They turned out to be handier than I'd expected and I based my whole project around them.
PyGTK is a common library for Graphical User Interfaces (GUI's) in python. You can use it when you want a little bit more than a command line program that just blurts out some text now and again. PyGTK isn't very flexible to work with, but once you got everything where it should be it is quite all right.
I used Twisted for the network connections and I can't say anything else then that it was great! No longer have you got to deal with low-level thread programming and hoping that everything will execute normally: Twisted does it for you and calls you when it's done. It also integrates perfectly with PyGTK so your window won't freeze. The only thing you have to bother with is the protocol, but that doesn't mean that you haven't got any control over the connections, no sir! Twisted can give you both very high level and very low level control, so everything is posible and everything is possible quickly.
I used the latter two libraries/frameworks to write a stable chat and game server with a GUI and extensive logging capabilities. The chat part is completely functional, but the game part needs a lot of work (the exact information on the game is still a secret).

You can run the server and telnet to it for now because I haven't got a client ready yet. Also, you should have Twisted and PyGTK installed.
Download Source
Python Chat and Game server coding page
Edit @ Sep 20, 2007: Added a buggy client to the coding pages (now that's a nice sell!) so you know it's currently under development.Click here to see the client
3 Comments
1
Written by: Lars Hammarstrom
2008-05-04 23:06:17
2
Written by: David Salinas Cortés
2009-11-11 14:11:30
What's the license for your code?
Thanks!
3
Written by: Bart site
2009-11-11 21:16:25