wxPython app not in the main thread

If I recall correctly:

Spawn your subordinate thread, then make sure that the initial `from
wxPython import wx' statement happens *in that thread*, create your
wxApp instance *in that thread*, run Mainloop *in that thread*, etc.

After you've done that, if I recall correctly, it should be fine to
call wxPostEvent from other threads (and touch miscellaneous Python
objects in orthogonal ways from other threads, also, obviously).

···

On Sun, Dec 29, 2002 at 12:48:50AM +0100, Wolfgang Draxinger wrote:

So how can I create a wxPython app in a separate thread?

--
"Computer Science is embarrassed by the computer." --Alan Perlis