Posted By

arcturus on 10/02/06


Tagged

python xml-rpc


Versions (?)

Who likes this?

11 people have marked this snippet as a favorite

px
yuconner
anayhk
leitmotiv
miziomon
cesku
fukami
lukaszkorecki
taboularasa
mustapha
ringo380


Python xml-rpc call


 / Published in: Python
 

This snippets try to download itself from http://snipplr.com using xml-rpc

  1. #!/usr/bin/python
  2.  
  3. import xmlrpclib
  4.  
  5. server=xmlrpclib.Server("http://snipplr.com/xml-rpc.php")
  6.  
  7. snippet=server.snippet
  8.  
  9. print snippet.get("1273")

Report this snippet  

You need to login to post a comment.