title: How do get Python to print the contents of a file
body: <p>I'm trying to get Python to print the contents of a file:</p>
  
  <pre><code>log = open("/path/to/my/file.txt", "r")
  print str(log)
  </code></pre>
  
  <p>Gives me the output:</p>
  
  <pre><code>&lt;open file '/path/to/my/file.txt', mode 'r' at 0x7fd37f969390&gt;
  </code></pre>
  
  <p>Instead of printing the file. The file just has one short string of text in it, and when I do the opposite (writing the user_input from my Python script to that same file) it works properly.</p>
  
  <p>edit: I see what Python thinks I'm asking it, I'm just wondering what the command to print something from inside a file is. </p>