One more reference: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/252151
This appears as recipe 6.6 in the second edition of the printed cookbook. Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor