Some Googling yielded this recipe http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/137951/index_txt, a little test shows promising results of the described recipe. BTW: the Python Cookbook is always a good place to browse with questions other people probably had as well!
-- http://mail.python.org/mailman/listinfo/python-list