Quote:
><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
><html>
>Often, if an execution fails and re-execution is tried, one gets the message:
><p> File "g:\program files\python20\wxPython\wx.py", line 1646, in
>__init__
><br>TypeError: Only 1 wxApp per process!
><p>One can work around this by exiting PythonWin and returning.
><p>Is there a simpler way?
><p>Thanks
><p>Colin W.
><br> </html>
The problem is that PythonWin doesn't clean-up after running a program. This, presumably, is so you
can inspect objects and variables for debugging. However, it's a bit troublesome in such situations.
The only solution I know is to run programs outside of PythonWin unless you are using the de{*filter*}.
--
Dale Strickland-Clark
Out-Think Ltd
Business Technology Consultants