title: Parsing .DAT file with Python
body: <p>I need to convert a <code>.dat</code> file that's in a specific format into a <code>.csv</code> file.</p>
  
  <p>The <code>.dat</code> file has multiple rows with a repeating structure. The data is held in brackets and have tags.  Below is the sample data; it repeats throughout the data file:</p>
  
  <blockquote>
    <p><code>{"name":"ABSDSDSRF","ID":"AFJDKGFGHF","lat":37,"lng":-122,"type":0,"HAC":5,"verticalAccuracy":4,"course":266.8359375,"area":"san_francisco"}</code></p>
  </blockquote>
  
  <p>Can anyone provide a starting point for the script?</p>