[pygtk] pygtk and xmlrpc
Jeffrey Barish
jeff_barish at earthlink.net
Thu Jun 2 03:47:56 WST 2011
Kim Adil wrote:
> Hi,
>
> I have a pygtk app working well, now I want to feed it data using xmlrpc.
> Is there any guidance available how to use both technologies together? I
> think the gtk main loop runs waiting for user input, and the
> python SimpleXMLRPCServer has it's own loop, but how to get them to
> cooperate. Any assistance would be appreciated.
Consider using Pyro. The user manual describes how to run it inside another
event loop (e.g., GTK's):
http://irmen.home.xs4all.nl/pyro3/manual/4-usage.html#server
--
Jeffrey Barish
More information about the pygtk
mailing list