Best, is naturally, a somewhat subjective evaluation. That being said, configparser is well regarded. I have also seen these two options that you might want to check out:
http://wiki.woodpecker.org.cn/moin/Dict4Ini http://www.voidspace.org.uk/python/configobj.html > I have all my options setup with optparse. Now, I'd like to be able to > parse an ini file to set defaults (that could be overridden by command line > switches). > > I'd like to make minimal change to my working optparse setup (there are lots > of options - I don't want to duplicate all the cmdline parsing with ini > file parsing code) > > I've looked at configparse, cfgparse, iniparse. > > configparse looks like what I want, but it seems last commit was >2years > ago. > > What is the best choice? > > -- Shane Geiger IT Director National Council on Economic Education [EMAIL PROTECTED] | 402-438-8958 | http://www.ncee.net Leading the Campaign for Economic and Financial Literacy
signature.asc
Description: OpenPGP digital signature
-- http://mail.python.org/mailman/listinfo/python-list