6 def somedecode(filename):
7 with open(filename, 'rb') as csvfile:
8 spamreader = csv.reader(csvfile, delimiter=',', quotechar='"')
12 for row in spamreader:
17 if row[2] == '192.168.67.81':
18 bits += "{0:06b}".format(int(row[7]))
20 print binascii.unhexlify('%x' % int(bits, 2))
22 if __name__ == "__main__":
23 somedecode("transmission.csv")