Read binary file and dump data in

Santiago Romero sromero at gmail.com
Wed Jan 14 04:02:33 EST 2009


> If you are reading arbitrary bytes then it will likely not always "look"
> like integers. What you probably meant is:
>
> for i in data:
>    print "%d, " % ord(i)

 That's it! :-)

 Thanks a lot.



More information about the Python-list mailing list