title: Parsing a file with ".data" extension in Python?
body: <p>I'm using idle in OS X, and I'm trying to parse a file with <code>.data</code> extension:</p>
  
  <pre><code>FP = open('&lt;filename&gt;.data','r')
  lines=FP.readlines()
  print lines
  </code></pre>
  
  <p>but this prints an empty array:  <code>[]</code></p>
  
  <p>I also tried Sublime but also doesn't work.  What is another method to use in Python to read this?</p>