[Image-SIG] Converting a binary file to ascii

Karsten Hiddemann karsten.hiddemann at mathematik.uni-dortmund.de
Wed Sep 3 11:09:11 CEST 2008

Ashish Sethi schrieb:
> How can i read the 4th line (binary) and convert it to an equivalent
> ascii string. [...]
> This script gave me some random absurd data as output.

Have you tried using d=infile.read() to really read in *all* the 
remaining data from the file?

More information about the Image-SIG mailing list