title: Python doesn't create file if not existing
body: <p>I cannot figure out how to create file that does not exist. I tried following, yet I get error that file does not exist.</p>
  
  <p>Please guide.</p>
  
  <pre><code>f=open('c:\Lets_Create_Malware\output.txt', 'r+')
  
  f=open('c:\Lets_Create_Malware\output.txt', 'w+')
  
  f=open('c:\Lets_Create_Malware\output.txt', 'a+')
  
  f=open('c:\Lets_Create_Malware\output.txt', 'r')
  
  f=open('c:\Lets_Create_Malware\output.txt', 'w')
  
  f=open('c:\Lets_Create_Malware\output.txt', 'a')
  </code></pre>