[SciPy-User] [SciPy-user] Spyderlib: how to end a script without getting a Traceback?
dred
doug.redden at gmail.com
Sat May 14 13:07:05 EDT 2011
Daniel,
I can't answer your question but the best place to ask is -
http://groups.google.com/group/spyderlib.
Doug
http://groups.google.com/group/spyderlib
Daniel Mader-2 wrote:
>
> Hi,
>
> sometimes I need to just end a script at a certain position (for debug
> purposes, mostly). Before starting to use Spyder, I have use
> sys.exit() for that purpose:
>
> import sys
> print 11111
> sys.exit()
> print 22222
>
> However, in the IPython shell integrated in Spyder, this results in a
> traceback, which is useless in this context.
>
> How can I get a quiet system exit here?
>
> Thanks in advance,
> Daniel
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
>
--
View this message in context: http://old.nabble.com/Spyderlib%3A-how-to-end-a-script-without-getting-a-Traceback--tp31605594p31618802.html
Sent from the Scipy-User mailing list archive at Nabble.com.
More information about the SciPy-User
mailing list