Skip to content

Instantly share code, notes, and snippets.

@baojie
Created January 6, 2013 06:57
Show Gist options
  • Save baojie/4465697 to your computer and use it in GitHub Desktop.
Save baojie/4465697 to your computer and use it in GitHub Desktop.
XMLRPC client
import os
import xmlrpclib
proxy = xmlrpclib.ServerProxy('http://localhost:5800/')
print proxy.file_reader(os.path.abspath( __file__ ))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment