I found a little python chat server at http://www.strout.net/python/tidbits.html. I tried it in python 2.6 and I got a few errors. So I fixed it. But then I saw no license on the code or the page so I just emailed the new file to the author and we'll see what happens.
Update: the author said all that python code is public domain and I may do with it as I wish! Yay!