[Tutor] ConfigParser and multiple option names

Iyer maseriyer at yahoo.com
Fri Apr 6 22:28:45 CEST 2007


The problem I have is very similar to this:

http://www.thescripts.com/forum/threadnav486400-1-10.html

But, I cannot change the config file layout -- it is a
read only file, so if I have the contents of the
config file (take it as config_file.lay) as 

[dir_options]
dir="/home/florian"
dir="/home/john"
dir="/home/whoever"

what method would you suggest to read each "dir" value
above from the config_file.lay?

Thanx,
iyer


 
____________________________________________________________________________________
Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html


More information about the Tutor mailing list