title: Path and Permission Issues using Pycharm with Windows 10
body: <p><strong>Problem</strong></p>
  
  <p>I am getting permission errors and code inconsistencies using Pycharm with Windows 10. I can use this piece of code on my windows 10 desktop, but it doesn't work on my Surface 4: </p>
  
  <p><code>xlsx = pd.ExcelFile('\test\Participant01Master.xlsx')</code></p>
  
  <p>Please note the folder and file is in my PyCharm IDE project. I am using pandas for the code given above. However, the error given to me is: </p>
  
  <p><code>FileNotFoundError: [Errno 2] No such file or directory: '/test/Participant01Master.xlsx'</code></p>
  
  <p>I thought maybe something was funky with my xlrd dependency. So, I tried uninstalling the xlrd package (to reinstall) and I got the following:  <a href="https://i.stack.imgur.com/Pr3qa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Pr3qa.png" alt="enter image description here"></a></p>
  
  <p><strong>Attempted Solutions</strong> </p>
  
  <p>I can successfully use the code <code>df = pd.read_excel(open('C:\\Users\hlyates\Source\Repos\Project0\Data\Participant01Master.xlsx','rb'))</code> to read my file. However, this feels gross because my xlxs line of code works for one machine and not another? </p>
  
  <p>As for the path, I verified PyCharm is in the Administrators Group and that my user profile has the same rights and special access. </p>
  
  <p><strong>Summary</strong></p>
  
  <p>This really kills my enthusiam for the Windows ecosystem? I don't feel PyCharm is working as intended on my Windows 10 box. I should not have to right click and 'run as administrator' when PyCharm admin (which seems to fix some of the weird file permission issues) when I and admin group already have permissions to this. I also think it is weird that code will work for my IDE on my desktop, but not Surface 4. I don't fight Linux like I do Windows with this stuff. I only shared both these issues because I feel they could be related? If I am doing something stupid, by all means point this out and I will correct it, but I'm doing the best I can with the information I have provided. Thanks for your patience. :) </p>
  
  <p><strong>References</strong> </p>
  
  <p>I was using code found <a href="https://stackoverflow.com/questions/17063458/reading-an-excel-file-in-python-using-pandas">here</a> for testing.</p>