I am opening up a binary file like so:
file = open(\"test/test.x\", \'rb\')
and reading in lines to a list. Each line looks a little like:
You are trying to print the data converted to ASCII characters, which will not work.
You can safely use any byte of the data. If you want to print it as a hexadecimal, look at the functions ord and hex/
ord
hex