On 7 Nov 2005 10:22:18 -0800, linuxpld <[EMAIL PROTECTED]> wrote:
> Hello
>
> I`m writing a program (server in future) in python.
> I would like to write it in such a way that I will be able to write gui
> in any language and connect to my python program and use functionality
> included with it.
> are there any libraries that I could use?

Lots...Perhaps you should start off in understanding your problem by
learning about sockets:
http://www.amk.ca/python/howto/sockets/

Sockets are a generalized method for passing data between programs on
the same or different computers.

>
> I dont know if i wrote it understandably but maybe picture will explain
> it:
>
> |------------|
> | python |
> |            | <- module in python -> <- connection ("???") -> <-gui in
> any language (java, c++, python, etc).
> | server  |
> |-----------|
> what could I use as "???"? http? mqseries? webservices? what are the
> possibilites?

http, webservices, xmlrpc, corba, people to type in messages between
programs, carrier pigeons, and sockets are all possibilities. I'm
gonna recommend that you learn sockets, because they're a general
solution to this problem, and many methods of inter-program
communication are based on sockets, but I don't know the specifics of
the program you're designing.

How tightly will the client and server interact? In what environment
(ie over the internet, over a corporate LAN, on the same computer, on
Internet2)? Is there any framework in existance, or is this program
being written from scratch?

Peace
Bill Mill
bill.mill at gmail.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to