[mod_python] wxPython

Richard Lewis richardlewis at fastmail.co.uk
Fri Aug 18 04:36:17 EDT 2006


On Friday 18 August 2006 08:33, Karl Kobata wrote:
> Does any know if wxPython is supported in mod_python?
>
> Has anyone used it to create a GUI or graphical application in a mod_python
> environment?
>
> Please let me know.
>
If you try to execute wxPython code from a mod_python handler using X Windows, 
it'll just tell you that it can't create any widgets because it can't access 
the display. You probably don't mean working with wxPython on the 
server-side?

You could (and people often do) create your application logic in one set of 
modules, create an HTTP interface to the application logic using mod_python, 
and create a client GUI using wxPython. You would use urllib2 (or similar) 
from your client (wxPython) code to call the functions provided by the 
mod_python layer.

Cheers,
Richard
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard Lewis
Sonic Arts Research Archive
http://www.sara.uea.ac.uk/
JID: ironchicken at jabber.earth.li
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


More information about the Mod_python mailing list