Setting up test for XML-RPC
Skip Montanaro
skip at pobox.com
Sat Jan 10 15:05:21 EST 2004
>> You should be able to build a server and a client with just the
>> standard Python distribution.
MB> Really? That would be awesome. But I don't see how that
MB> works... what do you enter for the URL? (right now it is just
MB> http://localhost, but obviously I would need to specify 20 different
MB> machines for my system. They are just bare Windows XP Pro machines
MB> with a default installation. They're "Windows Server" machines, I
MB> don't think.
Doesn't matter. Suppose you ran the server on win.foobar.tv, listening to
port 1234. In the client you'd call ServerProxy like so:
server = ServerProxy("http://win.foobar.tv:1234")
print server.exanples.echo("My dog has fleas")
Skip
More information about the Python-list
mailing list