title: Python File Slurp
body: <p>Is there a one-liner to read all the lines of a file in Python, rather than the standard:</p>
  
  <pre><code>f = open('x.txt')
  cts = f.read()
  f.close()
  </code></pre>
  
  <p>Seems like this is done so often that there's got to be a one-liner. Any ideas?</p>