Re: reading a config file

2005-11-04 Thread Larry Bates
When I need something like this I have employed the following: [server_001] blah = "some server" destination="some destination" [server_002] blah = "some other server" destination="some other destination" [server_linux1] blah = "some other server" destination="some other destination" Then I do

reading a config file

2005-11-03 Thread s99999999s2003
hi i used ConfigParser to read a config file. I need the config file to have identical sections. ie : [server] blah = "some server" [destination] blah = "some destination" [end] end= '' [server] blah = "some other server" [destination] blah = "some other destination" [end] end='' and i need to c