Parsing files

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Byrom, R (Rob)

    Parsing files

    Hi,



    Does anyone know of a neat way to read-in config files? At the moment I'm
    using the ConfigParser module but I have to add sections to the config file
    to make it parseable ie



    [a-section]



    param=a

    etc



    I want the parser to work without these sections. Is this possible ? If not
    what do people recommend?



    Any help/suggestions gratefully received,



    Rob


Working...