List Info

Thread: RE: A Puzzle with PySimpleApp




RE: A Puzzle with PySimpleApp
country flaguser name
United States
2007-10-03 16:23:13
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:robinalldunn.com] 
Sent: Wednesday, October 03, 2007 3:53 PM
To: wxPython-userslists.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-unsubscribelists.wxwidgets.org
For additional commands, e-mail: wxPython-users-helplists.wxwidgets.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )