Created
April 13, 2014 16:25
-
-
Save lufeihaidao/10590975 to your computer and use it in GitHub Desktop.
Q13 of python challenge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import xmlrpclib | |
xmlrpclib.ServerProxy('http://www.pythonchallenge.com/pc/phonebook.php').phone('Bert') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "xmlrpc/client" | |
phonebook = XMLRPC::Client.new("www.pythonchallenge.com", "/pc/phonebook.php").proxy | |
puts phonebook.phone('Bert') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment