TypeError

John Machin sjmachin at lexicon.net
Thu Jan 7 01:14:41 CET 2010


On Jan 7, 3:29 am, MRAB <pyt... at mrabarnett.plus.com> wrote:
> Victor Subervi wrote:

> > ValueError: unsupported format character '(' (0x28) at index 54
> >       args = ("unsupported format character '(' (0x28) at index 54",)
>
> > Apparently that character is a "file separator", which I presume is an
> > invisible character. I tried retyping the area in question, but with no
> > avail (threw same error). Please advise. Complete code follows.
>

OP is barking up the wrong tree. "file separator" has ordinal 28
DECIMAL. Correct tree contains '(' (left parenthesis, ordinal 0x28
(HEX)) as the error message says.



More information about the Python-list mailing list