title: How can I create a tmp file in Python?
body: <p>I have this function that references the path of a file:</p>
  
  <pre><code>some_obj.file_name(FILE_PATH)
  </code></pre>
  
  <p>where FILE_PATH is a string of the path of a file, i.e. <code>H:/path/FILE_NAME.ext</code></p>
  
  <p>I want to create a file FILE_NAME.ext inside my python script with the content of a string:</p>
  
  <pre><code>some_string = 'this is some content'
  </code></pre>
  
  <p>How to go about this? The Python script will be placed inside a Linux box.</p>