source: TI03-DataExtractor/branches/old_stuff/latest_dx/dx/test.py @ 793

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI03-DataExtractor/branches/old_stuff/latest_dx/dx/test.py@793
Revision 793, 260 bytes checked in by astephen, 13 years ago (diff)

Put all the old code in the old_stuff branch.

Line 
1from ConfigParser import *
2
3config=ConfigParser()
4config.read("install.conf")
5
6print config.get("dxs","CDAT_BIN_PATH")
7
8print config.sections()
9for sect in config.sections():
10  for opt in config.options(sect):
11   
12    print opt.upper(), config.get(sect, opt)
Note: See TracBrowser for help on using the repository browser.