Python Access Denied When Renaming A File
<p>I am working on a project for school to rename some files and create and do things with files. Some of the files are in the C drive and I need to get around:</p>

<pre><code>Traceback (most recent call last):
File "&lt;pyshell#2&gt;", line 1, in &lt;module&gt;
     os.rename('C:\Windows\System32\C_950.NLS' , 'C:\Windows\System32\C_950.NLS')
WindowsError: [Error 5] Access is denied
</code></pre>

<p>The Files are just an example I will be changing my own files. I have admin control on the computer however I need a way to give it to my friend who does not have admin control. Is there any semi-cheaty way to get around this? Also is there a way to send commands to command prompt through python?</p>
