Obj Exchange btwn programs/network?
Quote:
> > I am trying to set up a simple object exchange between two Python
> > programs w/in same Sparc machine & may be even across network without
> > using something complicated as ILU.
> The simplest solution I know of is the RemoteCall package. Simple and
> effective.
> http://www.python.org/ftp/python/contrib/All/remotecall.README
> http://www.python.org/ftp/python/contrib/All/remotecall.tar.gz
... Or take the dive, and get acquainted with sockets and struct/
pickle. Pickle's sophistication would be necessary for complex objects,
but for elementary objects struct can be simple and sufficient.
(Particularly as of Python 1.5, where you can force the endianess of
struct encoded bytes, using '>'/'<' format directives, avoiding problems
talking between eg sparc and x86 hosts...)
(orporation for National Research |nitiatives
# If you appreciate Python, consider joining the PSA! #
# <http://www.python.org/psa/>. #