python challenge 13
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
1 #-*- coding:utf8-*-
2 import time
3 start = time.time()
4 '''
5 import xmlrpclib
6
7 server = xmlrpclib.ServerProxy("http://localhost:80")
8
9 words = server.sayHello()
10
11 print "result:" + words
12 '''
13 import xmlrpclib
14 server = xmlrpclib.ServerProxy("http://www.pythonchallenge.com/pc/phonebook.php")
15 words = server.phone('Bert')
16 print words
17 #555-ITALY
18 print "耗时:"+str(time.time() - start)