[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.

Thanks
karl
-----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
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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________
Mod_python mailing list
Mod_python at modpython.org
http://mailman.modpython.org/mailman/listinfo/mod_python




More information about the Mod_python mailing list