Try using SPE, I've really liked it for some of extra features inside it like TODO tags that are automanaged. Also, its written in python, so thats kinda&nbsp; cool factor. It's also free. <br><br><div><span class="gmail_quote">
On 10/30/06, <b class="gmail_sendername">Dick Moores</b> &lt;<a href="mailto:rdm@rcblue.com">rdm@rcblue.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
At 05:06 PM 10/30/2006, Dick Moores wrote:<br>&gt;I'd like to know how to use sys.exit() to quit a program.<br>&gt;<br>&gt;Here's a simple example:<br>&gt;<br>&gt;import sys<br>&gt;<br>&gt;c = 0<br>&gt;while True:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c += 1
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if c &gt; 10000:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sys.exit()<br>&gt;<br>&gt;Now, this will certainly exit, but not without a lot of extra noise.<br>&gt;Is there a way to use it the way I want to? Maybe with an argument?<br>&gt;I'm writing a script, which in a couple of places I can't use &quot;break&quot; to quit.
<br><br>I just found this:<br>&lt;<a href="http://www.velocityreviews.com/forums/t359590-how-to-terminate-a-main-script.html">http://www.velocityreviews.com/forums/t359590-how-to-terminate-a-main-script.html</a>&gt;<br><br>
So the &quot;noise&quot; from sys.exit() is from using it &quot;inside&quot; Wing IDE. At<br>the command line, the exit is silent.<br><br>Sorry for the disturbance.<br><br>Dick<br><br><br>&gt;Thanks,<br>&gt;<br>&gt;Dick Moores
<br>&gt;<br>&gt;_______________________________________________<br>&gt;Tutor maillist&nbsp;&nbsp;-&nbsp;&nbsp;<a href="mailto:Tutor@python.org">Tutor@python.org</a><br>&gt;<a href="http://mail.python.org/mailman/listinfo/tutor">http://mail.python.org/mailman/listinfo/tutor
</a><br><br><br>_______________________________________________<br>Tutor maillist&nbsp;&nbsp;-&nbsp;&nbsp;<a href="mailto:Tutor@python.org">Tutor@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/tutor">http://mail.python.org/mailman/listinfo/tutor
</a><br></blockquote></div><br>