ConfigParser.items sorting

2009-10-28 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]

Re: ConfigParser.items sorting

2009-10-28 Thread Steven D'Aprano
On Tue, 27 Oct 2009 23:21:00 -0700, Dean McClure wrote: 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,

Re: ConfigParser.items sorting

2009-10-28 Thread Dean McClure
On Oct 28, 4:50 pm, Jon Clements jon...@googlemail.com wrote: On 28 Oct, 06:21, Dean McClure bratpri...@gmail.com 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 it to read some data in

Re: ConfigParser.items sorting

2009-10-28 Thread Jon Clements
On 28 Oct, 21:55, Dean McClure bratpri...@gmail.com wrote: On Oct 28, 4:50 pm, Jon Clements jon...@googlemail.com wrote: On 28 Oct, 06:21, Dean McClure bratpri...@gmail.com wrote: Hi, Just wondering how I can get theitems() command fromConfigParserto not resort all the item pairs

Re: ConfigParser.items sorting

2009-10-28 Thread Dean McClure
On Oct 29, 9:05 am, Jon Clements jon...@googlemail.com wrote: On 28 Oct, 21:55, Dean McClure bratpri...@gmail.com wrote: On Oct 28, 4:50 pm, Jon Clements jon...@googlemail.com wrote: On 28 Oct, 06:21, Dean McClure bratpri...@gmail.com wrote: Hi, Just wondering how I can get