How do I format this

Alex Martelli aleax at aleax.it
Fri Apr 26 17:21:07 EDT 2002


Sunit Joshi wrote:
        ...
> However it fails at <td width="1\%"> eventhough I'm escaping the '%'
> with a message ValueError: unsupported format character '"' (0x22) at

You don't "escape" % with a \ in a format string: rather, you double it
up.  Change that \ into another % and be happy.


Alex




More information about the Python-list mailing list