title: How to run a Python script with higher permissions?
body: <p>I am trying to make a basic program to backup one folder from my memory stick when it is plugged in, (I know there are already programs that can do this but that is no fun!) but am having trouble with permissions.</p>
  
  <pre><code>from shutil import copy2
  
  copy2('F:/Python/Library', 'C:/Users/Torran/Desktop/Python')
  </code></pre>
  
  <p>This is all I have so far, as I want to get the copying part working before doing the detecting when it is plugged in part. When I run this, however, it keeps giving me a <code>PermissionError</code>...</p>
  
  <pre><code>PermissionError: [Errno 13] Permission denied: 'F:/Python/Library'
  </code></pre>
  
  <p>I know that a Python script can only access folders in the same folder it is saved to, however this doesn't really help as I need to copy a folder from my memory stick and paste it into a folder on my desktop, so I need a way to give this script access to folders outside the folder it is saved to.</p>