6 def somedecode(filename):
7 with open(filename, 'rb') as csvfile:
8 spamreader = csv.reader(csvfile, delimiter=',', quotechar='"')
13 for row in spamreader:
21 va = str(int((float(row[1])-float(last[1])-0.05)*10))
22 if va not in ["0","1"]:
28 print binascii.unhexlify('%x' % int(v, 2)),
33 if __name__ == "__main__":
34 somedecode("filtered.dehexed.csv")