parseconfig
index
/devel/goods16/ferguson/pygoodsdist/doc/doctmp/parseconfig.py

Routines for parsing SExtractor-style input files.
 
__author__ =  'Henry C. Ferguson'
__version__=  '1.0.3'

 
Modules
       
string

 
Functions
       
parseconfig(configfile, paramdict={}, booleans=[])
Parse a file of format: PARAMETER   value  # comment
into a dictionary
 
Arguments:
configfile -- input file name
paramdict  -- dictionary of paramters (can be empty or already 
              initialized to default values) 
booleans   -- list of boolean parameters