title: How do i change the location directory of python open document?
body: <p>i was just wondering how i can change the location/directory that python uses to navigate and open files.</p>
  
  <p>I am a super noob so please use small words if you help me, and if you do, thanks.</p>
  
  <p>In case it matter, i use two mass storage devices one is located under the A:\ and the other using the default C:.  From memory i installed python under the A drive even though i know some parts are under the C drive. I also believe that i have set my mass storage devices up in AHCI or IDE.</p>
  
  <p>Example Code:</p>
  
  <pre><code>File_Test = open("Test.txt", "r")
  </code></pre>
  
  <p>This then produces the error:</p>
  
  <blockquote>
    <p>Traceback (most recent call last):
    File "", line 1, in 
     File_Test = open("Test.txt", "r")
    IOError: [Errno 2] No such file or directory: 'Test.txt'"</p>
  </blockquote>
  
  <p>Which from what i understand is python can't find the directory under which thise file is located. </p>
  
  <p>I would really like to know how to make python locate files in my specified directory. If you can help i would be very appreciative, thanks.</p>