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 cool factor. It's also free. <br><br><div><span class="gmail_quote">
On 10/30/06, <b class="gmail_sendername">Dick Moores</b> <<a href="mailto:rdm@rcblue.com">rdm@rcblue.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;">
At 05:06 PM 10/30/2006, Dick Moores wrote:<br>>I'd like to know how to use sys.exit() to quit a program.<br>><br>>Here's a simple example:<br>><br>>import sys<br>><br>>c = 0<br>>while True:<br>> c += 1
<br>> if c > 10000:<br>> sys.exit()<br>><br>>Now, this will certainly exit, but not without a lot of extra noise.<br>>Is there a way to use it the way I want to? Maybe with an argument?<br>>I'm writing a script, which in a couple of places I can't use "break" to quit.
<br><br>I just found this:<br><<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>><br><br>
So the "noise" from sys.exit() is from using it "inside" Wing IDE. At<br>the command line, the exit is silent.<br><br>Sorry for the disturbance.<br><br>Dick<br><br><br>>Thanks,<br>><br>>Dick Moores
<br>><br>>_______________________________________________<br>>Tutor maillist - <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><br><br>_______________________________________________<br>Tutor maillist - <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>