Syntax Error at end of file
Thomas Guettler
zopestoller at thomas-guettler.de
Wed Jul 3 05:20:06 EDT 2002
Thomas Guettler wrote:
>
> Hi!
>
> I get the following error-message:
>
> """
> File "<string>", line 254
>
> ^
> SyntaxError: invalid token
> """
>
> This wrror occurs at the end of the file. I think
> it is because a left a (, ' or " open.
>
> Is there a tool which can give me the line of the opening
> character? I programmed a lot and don't want to scan
> a lot of lines for an not closed paranthesis
Found the error: It was an open >'''<. Would it be very difficult
if the error message could say what it was suspecting (''') and
tells me where the matching start is?
thomas
More information about the Python-list
mailing list