I am trying to parse a DICOMRT file, which is a radiation therapy DICOM file.
First, I get different outputs from the two methods below. for line in file('file.dcm', 'rb'): print line inp = open('file.dcm', 'rb') print inp.readlines() Second, I have never tried to parse a binary file. I could use a few hints to get started. Bryan -- "The game of science can accurately be described as a never-ending insult to human intelligence." - João Magueijo
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor