<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br></div><blockquote type="cite"><div><span>while True:</span><br><span> button, (a,b) = form.Read()</span><br><span> try:</span><br><span> answer = int(a) + int(b)</span><br><span> output.Update(answer)</span><br><span> except:</span><br><span> pass</span><br></div></blockquote><div><br></div><div>Whoa! You really want people to write their own event loop? That seems like a bad idea to me.</div><div><br></div><div>If you want people to not have to think about events much, maybe look at traitsui for ideas.</div><div><br></div><div><a href="http://docs.enthought.com/traitsui/">http://docs.enthought.com/traitsui/</a></div><div><br></div><div>-CHB</div><br><blockquote type="cite"><div><span></span></div></blockquote></body></html>