Re: ConfigParser.items sorting

2009-10-28 Thread Dean McClure
On Oct 29, 9:05 am, Jon Clements wrote: > On 28 Oct, 21:55, Dean McClure wrote: > > > > > > > On Oct 28, 4:50 pm, Jon Clements wrote: > > > > On 28 Oct, 06:21, Dean McClure wrote: > > > > > Hi, > > > > > Just wondering how I ca

Re: ConfigParser.items sorting

2009-10-28 Thread Dean McClure
On Oct 28, 4:50 pm, Jon Clements wrote: > On 28 Oct, 06:21, Dean McClure wrote: > > > > > > > Hi, > > > Just wondering how I can get theitems() command fromConfigParserto > > not resort all the item pairs that it presents. > > > I am trying to get

ConfigParser.items sorting

2009-10-27 Thread Dean McClure
Hi, Just wondering how I can get the items() command from ConfigParser to not resort all the item pairs that it presents. I am trying to get it to read some data in order: [Relay Info] relay_name: IPC relay_current_range: [60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 104, 108, 112, 116] relay_cu