title: Python - cannot "find" files with "getenv("APPDATA")"?
body: <p>I am trying to locate/edit a file within AppData. This is what I am doing:</p>
  
  <pre><code> if os.path.isfile(getenv("APPDATA") + "File"):
          print("Found file!")
  </code></pre>
  
  <p>I am then going to open that file </p>
  
  <pre><code>conn = sqlite3.connect(getenv("APPDATA") + "File")
  </code></pre>
  
  <p>However, it just creates a temp file called <code>RoamingFile</code> there. Eventhough my file is in the AppData directory. I have played around with permissions with no luck. I can also access it if I go straight to the path eg <code>C:\Users\user\AppData</code>.</p>
  
  <p>I have hit a brick wall really because I have been trying to solve it/look for answers for hours. - Thanks</p>