[mod_python] wxPython

Karl Kobata karl.kobata at syncira.com
Fri Aug 18 10:05:11 EDT 2006

Hi Richard,

Understand.  I am not familiar with urllib2.  where can I find information
about it.

-----Original Message-----
From: mod_python-bounces at modpython.org
[mailto:mod_python-bounces at modpython.org] On Behalf Of Richard Lewis
Sent: Friday, August 18, 2006 1:36 AM
To: mod_python at modpython.org
Subject: Re: [mod_python] wxPython

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
> environment?
> Please let me know.
If you try to execute wxPython code from a mod_python handler using X
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 

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.

Richard Lewis
Sonic Arts Research Archive
JID: ironchicken at jabber.earth.li
Mod_python mailing list
Mod_python at modpython.org

More information about the Mod_python mailing list