Mega Code Archive
Categories
/
Python Tutorial
/
Network
XML-RPC Basic Test Client
import xmlrpclib, code url = 'http://localhost:8765/' s = xmlrpclib.ServerProxy(url) interp = code.InteractiveConsole({'s': s}) interp.interact("interact with the server.")