[Tutor] Fwd: Re: Need Help Modifying a wxPython GUI (scrolling display and logging)

Alan Gauld alan.gauld at btinternet.com
Fri Jun 14 16:27:32 CEST 2013


On 14/06/13 14:27, Matt D wrote:
> im sorry i dont get it.  there is too many brackets in this lin:
>
> 	tmplist.append(field_values["nac"])
>
> Thats where the error is

No, that's where Python *detected* that an error existed.
The actual error is on the previous line. This is quite
common, especially in cases of mismatched parens or quotes.

There is a difference between where an error *occurs* and
where an error is *detected*.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/



More information about the Tutor mailing list