def parsePositionFile(filename):
l=[]<EOL>with open( filename, "<STR_LIT:rb>" ) as theFile:<EOL><INDENT>reader = csv.DictReader( theFile )<EOL>for line in reader:<EOL><INDENT>mytime=dateparser.parse(line['<STR_LIT:time>'])<EOL>line['<STR_LIT>']=mytime.strftime("<STR_LIT>")<EOL>l.append(line)<EOL><DEDENT><DEDENT>return l<EOL>
Parses Android GPS logger csv file and returns list of dictionaries