No such file or directory error
<p>This is the error I am getting:</p>

<pre><code>Traceback (most recent call last):
  File "E:\stuff\module.py", line 91, in &lt;module&gt;
    f = open('E:/stuff/log.txt')
IOError: [Errno 2] No such file or directory: 'E:/stuff/log.txt'
</code></pre>

<p>And this is my code:</p>

<pre><code>f = open('E:/stuff/log.txt')
</code></pre>

<p>The <code>E:/stuff/log.txt</code> file exists. I can navigate in Windows Explorer and open it so why can't I open it?</p>

<p>EDIT:</p>

<p>Output of DIR command:</p>

<pre><code>C:\Documents and Settings\Administrator&gt;dir e:\stuff
 Volume in drive E has no label.
 Volume Serial Number is 5660-4957

 Directory of e:\stuff

23. 10. 2010  09:26    &lt;DIR&gt;          .
23. 10. 2010  09:26    &lt;DIR&gt;          ..
19. 10. 2010  20:07               385 index.py
23. 10. 2010  16:12             1 954 module.py
22. 10. 2010  19:16             8 335 backprop.py
19. 10. 2010  20:54             1 307 backprop-input.gif
19. 10. 2010  01:48               310 HelloWorld.kpf
23. 10. 2010  15:47                 0 log.txt.txt
               6 File(s)         12 291 bytes
               2 Dir(s)   8 795 586 560 bytes free



C:\Documents and Settings\Administrator&gt;dir e:\
 Volume in drive E has no label.
 Volume Serial Number is 5660-4957

 Directory of e:\

16. 10. 2010  13:32    &lt;DIR&gt;          development-tools
23. 10. 2010  09:26    &lt;DIR&gt;          stuff
               0 File(s)              0 bytes
               2 Dir(s)   8 795 586 560 bytes free
</code></pre>

<p>I am running the python script from the cmd like this:</p>

<pre><code>python E:\stuff\module.py
</code></pre>
