Whoops The some test code made it into my post. This bit of code has no purpose. binData = ''.join([chr(eval('0x'+val)) for val in re.findall('..|.',hex(x)[2:-1])]) -Darrell