title: In Python, writing to a text file is not creating a file in the directory I expected
body: <p>I've been working on a project with Python 3, and I need to store some data on a .txt file. When I run the code, there is no error message. Why doesn't it even seem to create the file?</p>
  <p>Here's the code:</p>
  <pre><code>text = 'Sample text.'
  saveFile = open('file.txt','w')
  saveFile.write(text)
  saveFile.close()
  </code></pre>
  <p>I run it from Python IDLE. I'm trying to save the file to my Desktop.</p>