from webdav3.client import Client import configparser options = { 'webdav_hostname': "https://dav.jianguoyun.com/dav/", 'webdav_login': "794508986@qq.com", 'webdav_password': "awncxpzjbgxxztbs" } client = Client(options) # client.execute_request('list') list1 = client.list('/') print(list1) exist = client.check('OpenTodoList') print(exist)