pythonchallenge_level13

简介: pythonchallenge各关解题

level13

地址:http://www.pythonchallenge.com/pc/return/disproportional.html
源码:git@code.aliyun.com:qianlizhixing12/PythonChallenge.git。
问题:用xmlrpc处理远程过程调用。

#!/usr/bin/env python3
# -*- coding:UTF-8 -*-

# Level 13

url = "http://www.pythonchallenge.com/pc/phonebook.php"

import xmlrpc.client

client = xmlrpc.client.ServerProxy(url)
print(client.system.listMethods())
print(client.system.methodHelp('phone'))
print("Level 13:", client.phone("Bert"))
相关文章
|
索引
PAT (Advanced Level) Practice - 1056 Mice and Rice(25 分)
PAT (Advanced Level) Practice - 1056 Mice and Rice(25 分)
90 0
PAT (Advanced Level) Practice - 1068 Find More Coins(30 分)
PAT (Advanced Level) Practice - 1068 Find More Coins(30 分)
92 0
PAT (Advanced Level) Practice - 1017 Queueing at Bank(25 分)
PAT (Advanced Level) Practice - 1017 Queueing at Bank(25 分)
109 0
|
Python
pythonchallenge_level10
pythonchallenge各关解题
1193 0
|
Python
pythonchallenge_level0
pythonchallenge各关解题
1123 0
|
机器学习/深度学习
pythonchallenge_level9
pythonchallenge各关解题
1129 0
|
Python
pythonchallenge_level11
pythonchallenge各关解题
1044 0
|
Python
pythonchallenge_level4
pythonchallenge各关解题
1092 0

热门文章

最新文章