我想通过 python (C-Python) 使用 Sharepoint
有人试过吗?
最佳答案
我怀疑自从回答了这个问题后,SUDS 库已经更新以处理所需的身份验证本身。在经历了各种困难之后,我发现这个可以解决问题:
from suds import WebFault
from suds.client import *
from suds.transport.https import WindowsHttpAuthenticated
user = r'SERVER\user'
password = "yourpassword"
url = "http://sharepointserver/_vti_bin/SiteData.asmx?WSDL"
ntlm = WindowsHttpAuthenticated(username = user, password = password)
client = Client(url, transport=ntlm)
关于python - 我如何使用 python 的共享点(通过 soap?)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/218987/