title: Trying to access sharepoint list using python
body: <p>I have full access to the resource I would like to connect to the Microsoft.sharepoint.c0m site lists.</p>
  
  <p>I would like to know what is the easiest way to pull or upload the data from sharepoint list in python? I am getting error code 403 with this code:</p>
  
  <pre><code>import requests
  from requests_ntlm import HttpNtlmAuth
  import urllib3
  urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
  auth = HttpNtlmAuth('username', 'password')
  
  r = requests.get("https://sharepoint.com/_api/Web/lists/GetByTitle('ListName')/items",
  verify=False,
  auth=auth,
  )
  </code></pre>
  
  <p>Why am I getting error code 403 ?</p>