Parsing files

B

Byrom, R (Rob)

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,176
Messages
2,570,950
Members
47,503
Latest member
supremedee

Latest Threads

Top