simple xmlrpc with python
from xmlrpclib import ServerProxy print ServerProxy("http://127.0.0.1:9955").get_file()
code for the server :
import SimpleXMLRPCServer def get_file(): return "content" server = SimpleXMLRPCServer.SimpleXMLRPCServer(("127.0.0.1", 9955)) server.register_function(get_file) server.serve_forever()