title: How do I give PyCharm Admin permission?
body: <p>Having a hard time reading this excel file. I did some googling and it looked like I needed to give PyCharm admin permission. So I exited out and then &quot;ran as administrator&quot;. Still having the same error. Not even sure if that the actual problem or if I'm doing something else wrong.</p>
  <p>my code</p>
  <pre><code>import xlrd
  
  loc = (r&quot;C:\Users\tyler\OneDrive\Documents\GB-NYJ 2002 W17.xlsx&quot;)
  
  wb = xlrd.open_workbook(loc)
  sheet = wb.sheet_by_index(0)
  print(sheet.cell_value(0, 0))
  </code></pre>
  <p>the error</p>
  <pre><code>C:\Users\tyler\PycharmProjects\NFLModel\venv\Scripts\python.exe C:/Users/tyler/PycharmProjects/NFLModel/Carson.py
  Traceback (most recent call last):
    File &quot;C:/Users/tyler/PycharmProjects/NFLModel/Carson.py&quot;, line 10, in &lt;module&gt;
      wb = xlrd.open_workbook(loc)
    File &quot;C:\Users\tyler\PycharmProjects\NFLModel\venv\lib\site-packages\xlrd\__init__.py&quot;, line 111, in open_workbook
      with open(filename, &quot;rb&quot;) as f:
  PermissionError: [Errno 13] Permission denied: 'C:\\Users\\tyler\\OneDrive\\Documents\\GB-NYJ 2002 W17.xlsx'
  
  Process finished with exit code 1
  </code></pre>