title: FileNotFoundError: [Errno 2] No such file or directory:
body: <pre><code>count = 0
  answer = ""
  pass_pool={"CSRP":"","pos":"","erp":"","comverse":"","miki":"","citrix":""}
  name = ""
  
  
  def program_start():
      answer = input('Do you want to make some TXT with the same passwords? y\\n :')
      count = int(input('How many TXT files do you want to make?'))
      name = input('Enter the hot user id:')
      name = name+".TXT"
      password_collector() # collect password to pass_pool dictionary
      create_file() #create TXT file. it has to be in capital "TXT" 
      #for the safe program.
  
  def create_file():
      newTXT = open(name, "w")
      newTXT.write(name + "\n \n" )
      for system , password in pass_pool.items():
          newTXT.write(system + ":" + password )
      newTXT.close()
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>File "C:\Python33\mypy\txt creator.py", line 16, in create_file
  newTXT = open(name, "w")
  FileNotFoundError: [Errno 2] No such file or directory:
  </code></pre>
  
  <p>From what I look on google this error mean wrong path or file not found. But I check with <code>sys.path</code> and saw that <code>"C:\Python33\mypy"</code> in my paths, and I create the file with <code>"w"</code> so it should work with no problems.</p>
  
  <p>When I used only the <code>create_file()</code> function in the shell it works with no problem.</p>