簡體   English   中英

Python suds解析響應

[英]Python suds parsing response

我正在使用python 3.4和suds,我有以下代碼。

client = Client(url, faults=False)
result = client.service.SubmitTimes(apikey=apiKey, times=data)
print ("result",result)

該結果=

result (200, (SqlInsertBase){
SqlInsertOk = True
})

我試圖獲取SqlInsertOk的值相等。

我試着做result.SqlInsertOk,但是那錯誤。 任何幫助,將不勝感激。

謝謝

如果我刪除Faults = false,那么它將起作用。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM