Thursday, 15 August 2013

Input data to a list from a binary file using python

Input data to a list from a binary file using python

I have a binary file. I need to input each byte into the list I am
creating, in such a way that the whole binary file of hexadecimal numbers
is now in a list. I have tried the following out, but it is not working f
is the binary file
f1=[]
f1 = f.read(1)

No comments:

Post a Comment