|
From: Arash A. <aza...@gm...> - 2011-08-29 17:41:12
|
Hi all ,
I have 2 questions.
1- I was wondering whats the procedure for reading the value for subsection,
sub-sub section and so on :
config.cfg file :
[Header]
User=value
[[ loop]]
start= startPoint
step= stepPoint
stop= stopPoint
Python Code for reading config file :
config=configObj(path)
Header = config['Header']
User = Header['User']
loop = ??
step= ???
2 - how can I have multiple subsections with similar name and keywords
within one section ?
For example having multiple [[loop]] subsections like one is defined above .
Thank you ,
Arash.
|