)
zipped
#返回的是一个对象
list(zipped)
[(1, 4), (2, 5), (3, 6)] #使用list()函数转换为列表...5), (3, 6)]
zipped = zip(a,b)
list(zip(*zipped)) #解压也使用list进行转换
[(1, 2, 3), (4, 5, 6)]
4、python字典转json...:json.dumps(xx,indent=xx)
!...5、字典转xml:
!...server = ServerProxy("http://localhost:8888") # 初始化服务器
print (server.get_string("cloudox")) # 调用函数并传参