wow,
Thanks alex, this rocks really, [ i am new to OOP style in python]
I am trying to implement it on similar lines,
I`ll comeback if I encounter any trouble.
thanks again
-Jiro
Paul McGuire wrote:
> <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hi all
> > I am a newbie and
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all
> I am a newbie and I just saw a ongoing thread on Fileprocessing which
> talks abt config parser.
> I have writen many pyhton program to parse many kind of text files by
> using string module and regex. But after reading that con
Thanks a lot for Dale and Larry,
I have not tried the OOP way yet like you mentioned,
I will try to create a parser soon,
maybe I will post it in the net after that, it may be useful to others
too,
Thanks again
-Jiro
--
http://mail.python.org/mailman/listinfo/python-list
ConfigParser is for parsing configuration files of the format:
[section1]
option1=
option2=
.
.
.
optionN=
[section2]
option1=
option2=
.
.
.
optionN=
Your data doesn't fit that format.
Looks to me like you should write a small class object for
each different type of record that can be found in
The Config Parser module is for extracting data from and writing to a
specific format of file, generally known as a config file. As explained in
the documentation, a config file is in the same format as .ini files
frequently found on windows - especially used by older software.
It is a very handy