[Tutor] Parsing DICOMRT file

Bryan Fodness bryan.fodness at gmail.com
Thu Dec 13 00:22:54 CET 2007


Just downloaded it and have not had a chance to check it out.

Thanks,
Bryan

On Dec 12, 2007 6:18 PM, Eric Brunson <brunson at brunson.com> wrote:

> Bryan Fodness wrote:
> > I am trying to parse a DICOMRT file, which is a radiation therapy
> > DICOM file.
>
> I'm a little late to the party, but you may want to take a look at this:
>
> http://mypage.iu.edu/~mmiller3/python/#dycom
>
>
>
> >
> > 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 at python.org
> > http://mail.python.org/mailman/listinfo/tutor
> >
>
>
>


-- 
"The game of science can accurately be described as a never-ending insult to
human intelligence." - João Magueijo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20071212/728f7881/attachment-0001.htm 


More information about the Tutor mailing list