Syntax Error at end of file

Opus opus at value.net
Wed Jul 3 06:25:57 EDT 2002


I find it helpful to use an editor that does color coding.  Many will color 
code with strings as well.  Would have helped you in this case.  

On 3 Jul 2002 at 11:20, Thomas Guettler wrote:

> 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
> 
> -- 
> http://mail.python.org/mailman/listinfo/python-list


--Opus--

Dictatorship (n): a form of government under which everything 
which is not prohibited is compulsory.

--------------------------------------------------------
Get added to my Humor list:
mailto:opus at value.net?subject=ADD_HUMOR
Get added to my Neat list:
mailto:opus at value.net?subject=ADD_NEAT
Get my PGP public key:
mailto:opus at value.net?subject=PSEND&body=send%20PublicKEY.asc
Visit My Home Page:
http://value.net/~opus/








More information about the Python-list mailing list