In article <roy-4A275D.13503227122013 at news.panix.com>, Roy Smith <roy at panix.com> wrote: > self.logfile.write("str=%s, repr=%s", (str(t), repr(t))) Ugh, make that: > self.logfile.write("str=%s, repr=%s" % ((str(t), repr(t)))