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 - 1013 Battle Over Cities(25 分)
PAT (Advanced Level) Practice - 1013 Battle Over Cities(25 分)
95 0
|
C++
PAT (Advanced Level) Practice - 1038 Recover the Smallest Number(30 分)
PAT (Advanced Level) Practice - 1038 Recover the Smallest Number(30 分)
99 0
|
索引
PAT (Advanced Level) Practice - 1056 Mice and Rice(25 分)
PAT (Advanced Level) Practice - 1056 Mice and Rice(25 分)
89 0
【愚公系列】2021年11月 攻防世界-进阶题-MISC-028(Recover-Deleted-File)
【愚公系列】2021年11月 攻防世界-进阶题-MISC-028(Recover-Deleted-File)
162 0
【愚公系列】2021年11月 攻防世界-进阶题-MISC-028(Recover-Deleted-File)
|
Python
pythonchallenge_level7
pythonchallenge各关解题
1131 0
|
Python
pythonchallenge_level0
pythonchallenge各关解题
1123 0
|
Python
pythonchallenge_level2
pythonchallenge各关解题
1101 0
|
机器学习/深度学习
pythonchallenge_level9
pythonchallenge各关解题
1129 0