title: python open() how to change set files name/title
body: <p>If I open a file (image) in python with </p>
  
  <p><code>f = open('/path/to/file.jpg', 'r+')</code></p>
  
  <p>I have a function <code>f.title()</code> and I get the full path of the file back.  How can I change the opened files name/repr/title to something else?</p>