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?
_______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig