[Tutor] Windows IDLE error msgs?

Kent Johnson kent37 at tds.net
Sat Nov 12 21:03:29 CET 2005


CPIM Ronin wrote:
> I can get the standard Python error messages IF I execute a Python 
> script via the command line OR the script I'm running from IDLE passes 
> the initial syntax check and generates an execution error. However, if I 
> have a syntax error that's caught in the initial syntax checking phase, 
> IDLE merely goes to the particular line and highlights the line where 
> the error was detected. How do I get IDLE to say specifically what's wrong?

Python syntax error messages are not very specific, I think IDLE is telling you all it knows. For me it pops up a dialog saying "invalid syntax" which is the same error I get running from the command line.

Kent

-- 
http://www.kentsjohnson.com



More information about the Tutor mailing list