[Tutor] need help tracing a syntax error

Alan Gauld alan.gauld at freenet.co.uk
Sun Mar 12 09:32:54 CET 2006


> There was no actual message.   The syntax error message to me 
> occurred in a dialog box which closed immediately.  

What development tool are you using?
I would change it, if it doesn't display a full error trace then it 
is depriving you of one of the most useful tools in Python!

> It's not possible to copy and paste a highlight.

> There was no error message except for the fact that r2 was highlighted.

And how was the r2 highlighted? Again, what tool are you using?

If you must stick with that tool then at least try running your code 
through the standard Python interpreter which will let you see the 
full error message, you can then paste that to us.

> Anyway,  now I understand about uppercase and lower case, 
> so I won't get a syntax error for this reason again.

True, but there are many possible errors that you will get and not 
being able to clearly see the error text will be a big handicap to 
you and to us if you post a query.

Alan G
Author of the learn to program web tutor
http://www.freenetpages.co.uk/hp/alan.gauld
 



More information about the Tutor mailing list