title: I am getting a File not Found error on a simple Python open() function
body: <p>Here is the code I have boiled it down to a simple open(), the Open file input statement displays but the Close file does not. This runs in the Idle interface but not in the command line interface. </p>
  
  <p>Both the program and the file (spelled correctly and all lower case) are on the desktop for this test. Does anyone see what is missing?open</p>
  
  <pre><code># Read It
  # Demonstrates reading from a text file
  
  input("\n\nPress the enter key to Open file")
  print("Opening and closing the file.")
  text_file = open("nicole1.txt", "r")
  input("\n\nPress the enter key to Close file")
  text_file.close()
  
  input("\n\nPress the enter key to exit.")
  </code></pre>
  
  <p>** Update, Ok I tried the absolute path and it was not successful. I have a copy of this on a flash drive. I ran it on a Windows XP box and a Windows 7 box and it ran just fine. I take the same flash drive and try and run it on a Windows10 Box and I get the problem. One comment asked if there was a traceback and there is and it basically indicates that the file does not exist. I am now trying to determine if this is a Windows 10 issue. Also, the code will run inside idle on both Windows Boxes (XP and Win10).</p>