3 from pprint import pprint
7 #with open('intermediate_stream_data.txt', 'r') as infile:
8 with open('stream_data.txt', 'r') as infile:
12 bin = "{0:06b}".format(i)
15 bytelist = [ fullstr[i:i+8] for i in range(0, len(fullstr), 8) ]
19 for bchar in bytelist:
20 solution += chr(int(bchar, 2))
22 print ("%s" % solution)
23 print ("len: %d" % len(solution))