Getting Raw Binary Representation of a file in Python,"binrep = ''.join(bytetable[x] for x in open('file', 'rb').read())"