[python-win32] Exiting an embedded script?
Karl Bellve
Karl.Bellve@umassmed.edu
Thu, 10 May 2001 11:57:13 -0400
Thanks for answering!
I was hoping there was a simple solution in C/C++ to prevent the script
from closing the application on a sys.exit() call and not on the python
side.
Jesper Hertel wrote:
>
> Hello Karl,
>
> I am not sure that I completely understand the question, but how about
> putting the code in a function and then use raise to quit the function when
> needed?
>
> This doesn't work as you said:
>
--
Cheers,
Karl Bellve, Ph.D. ICQ # 13956200
Biomedical Imaging Group TLCA# 7938
University of Massachusetts
Email: Karl.Bellve@umassmed.edu
Phone: (508) 856-6514
Fax: (508) 856-1840
PGP Public key: finger kdb@molmed.umassmed.edu