<br><br><div><span class="gmail_quote">On 1/23/06, <b class="gmail_sendername">Aldo Cortesi</b> <<a href="mailto:aldo@nullcube.com">aldo@nullcube.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Well, leaving aside the merits of using "input" (which should be avoided at all<br>costs), here's one way to do what you want:<br><br>while 1:<br>    try:<br>        x = input("> ")<br>        break
<br>    except SyntaxError:<br>        print "explain the problem here"<br><br><br><br><br>Cheers,<br><br><br><br>Aldo</blockquote><div><br>Thanks, that seems to work fine.  But about your other comment. . .<br>
<br>>Well, leaving aside the merits of using "input" (which should be avoided at all<br>>costs)<br><br>What do you mean?<br></div><br></div><br><br clear="all"><br>-- <br><br><br><br>-Ivan