How to Machine A python script execute Machine B python script?

Nick Craig-Wood nick at craig-wood.com
Mon Jul 9 04:30:06 EDT 2007


half.italian at gmail.com <half.italian at gmail.com> wrote:
>  On Jul 8, 6:45 pm, johnny <rampet... at gmail.com> wrote:
> > Anyone know how I can make Machine A python script execute a python
> > script on Machine B ?
> 
>  xmlrpc will work.

Or pyro

http://pyro.sourceforge.net/

Pyro is short for PYthon Remote Objects. It is an advanced and
powerful Distributed Object Technology system written entirely in
Python, that is designed to be very easy to use. Never worry about
writing network communication code again, when using Pyro you just
write your Python objects like you would normally. With only a few
lines of extra code, Pyro takes care of the network communication
between your objects once you split them over different machines on
the network. All the gory socket programming details are taken care
of, you just call a method on a remote object as if it were a local
object!

-- 
Nick Craig-Wood <nick at craig-wood.com> -- http://www.craig-wood.com/nick



More information about the Python-list mailing list