6 def somedecode(filename):
7 with open(filename, 'rb') as csvfile:
8 spamreader = csv.reader(csvfile, delimiter=',', quotechar='"')
12 for row in spamreader:
23 #bits = bits[:-(len(bits)%8)]
24 print binascii.unhexlify('%x' % int(bits, 2))
26 if __name__ == "__main__":
27 somedecode("flow_204.10.110.7_187.10.25.137.csv")