title: What does the Permission error mean when trying to read in Excel files using the xlrd module?
body: <p>I am new to python and I am just trying to figure out how to read in a data set from Excel using the xlrd module. When I run my code I am getting the permission error [errno 13]. I'm not sure what the error means or why I am getting it.
  Here is my code I am using:</p>
  
  <pre><code>import xlrd
  loc = ("path to the file I'm trying to read in")
  wb = xlrd.open_workbook(loc)
  sheet = wb.sheet_by_index(0)
  sheet.cell_value(0,0)
  print(sheet.nrows)
  </code></pre>
  
  <p>and this is the output I get:</p>
  
  <blockquote>
    <p>Traceback (most recent call last):   File "GaitOptMain.py", line 46,
    in 
        wb = xlrd.open_workbook(loc)   File "C:\Users\mleef\AppData\Local\Programs\Python\Python37\lib\site-packages\xlrd__init__.py",
    line 116, in open_workbook
        with open(filename, "rb") as f: PermissionError: [Errno 13] Permission denied: [path that I used in the code]</p>
  </blockquote>