Unfortunately I can't keep the Python thread alive between
programs. I did putting PySimpleApp on a separate thread
but it also dies between programs.
-----Original Message-----
From: Robin Dunn [mailto:robin alldunn.com]
Sent: Wednesday, October 03, 2007 3:53 PM
To: wxPython-users lists.wxwidgets.org
Subject: Re: [wxPython-users] A Puzzle with PySimpleApp
Peck, Jon wrote:
> Each PROGRAM in the above sense is run on a new thread
that dies at
> the end of the program, so any initialization related
to the thread
> would need to be repeated for each program, most
likely, We had some
> issues with COM in this mode that required adding code
to
> reinitialize the Python COM connection each time a
program starts. I
> rather suspect that there might be similar issues
here.
Have you tried keeping that thread around and reusing it for
the next
snippet of wxPython code?
--
Robin Dunn
Software Craftsman
http://wxPython.org Java
give you jitters? Relax with wxPython!
------------------------------------------------------------
---------
To unsubscribe, e-mail: wxPython-users-unsubscribe lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help lists.wxwidgets.org
|