how to make python socket server work with the app.MainLoop() in wxpython?

Philippe Martin pmartin at snakecard.com
Sun Jul 30 16:47:34 EDT 2006


Grant Edwards wrote:

> On 2006-07-30, Philippe Martin <pmartin at snakecard.com> wrote:
> 
>> If you get rid of app.MaiLoop(), you basically get rid of all GUI events.
>> You need to have you server in a separate thread.
> 
> Isn't there any way to use wxWidgets socket callbacks in wxPython?
> 
> --
> Grant Edwards                   grante             Yow!  I'm wearing
> PAMPERS!!
>                                   at
>                                visi.com

If I understand correctly, I guess you can send an event to the main thread
to tell it there was data received.

Regards,

Philippe




More information about the Python-list mailing list