Re: [Tutor] Dictionaries of Tuples of Strings

2007-02-23 Thread Bill Sconce
On Fri, 23 Feb 2007 13:45:54 -0800 (PST) Terry Carroll <[EMAIL PROTECTED]> wrote: > > Any other way to create an empty tuple? > > Answering my own question: > > >>> t=() > >>> type(t) > Giving the lie to my earlier summary (that tuples are indicated by commas only -- arrgh :) __

Re: [Tutor] Dictionaries of Tuples of Strings

2007-02-23 Thread Bill Sconce
Don't feel bad. Everyone who works with Python bumps into this. And more than once... The preceding reply is correct. But perhaps this is more specific: > TYPES_PYTHON_TO_XML = { >'int':('xs:hexbinary','xs:integer'), >'str':("xs:string") >} The problem is h

Re: [Tutor] DICOM Header

2007-02-23 Thread Bill Sconce
On Thu, 22 Feb 2007 13:51:35 -0700 "Andrew Liimatta" <[EMAIL PROTECTED]> wrote: > I have a directory that is filled with DICOM files that I obtained > by using the Offis DICOM tool kit. Ah. The light dawns. I should offer to communicate with you off-list, and report back here after we've solved

Re: [Tutor] DICOM Header

2007-02-22 Thread Bill Sconce
On Thu, 22 Feb 2007 11:56:19 -0700 "Andrew Liimatta" <[EMAIL PROTECTED]> wrote: > > Hello, > > > I am having a hard time figuring something out. > > I have Files that are written in DICOM format. I want to be able > to pull out select elements from the header of these files > > I have a dict