[SciPy-dev] gui_thread issue

Prabhu Ramachandran prabhu_r at users.sf.net
Sun Nov 7 11:56:15 CST 2004


>>>>> "PP" == Pearu Peterson <pearu at scipy.org> writes:

    PP> On Sat, 6 Nov 2004, Fernando Perez wrote:

[...]
    PP> In [1]: import gui_thread; gui_thread.start()

    PP> In [2]: cd /opt/src/wxPythonSrc-2.4.2.4/wxPython/demo/
    PP> /opt/src/wxPythonSrc-2.4.2.4/wxPython/demo

    PP> In [3]: import Main

    PP> In [4]: d=Main.wxPythonDemo(None,-1,'a')
    PP> # Demo window pops up but then python and wx window hang.

Forgot to add.  Sometimes you need to wait for 5-10 seconds for the
prompt to get back.  At this point you can do `d.Show(1)` and things
should work (it does for me!).

cheers,
prabhu





More information about the Scipy-dev mailing list