Re: Comments in ConfigParser module

2007-04-09 Thread Gabriel Genellina
En Sun, 08 Apr 2007 06:17:46 -0300, Joel Granados <[EMAIL PROTECTED]> escribió: > On 7 Apr 2007 13:19:06 -0700, Gabriel Genellina <[EMAIL PROTECTED]> > wrote: >> >> Joel Andres Granados wrote: >> >> > The module also allows the comments to appear in the same line as the >> > "name = value" const

Re: Comments in ConfigParser module

2007-04-09 Thread James Stroud
Joel Granados wrote: > > > On 4/6/07, *James Stroud* <[EMAIL PROTECTED] > > wrote: > > Joel Andres Granados wrote: > > Hi list: > > Any comment greatly appreciated > > Very clever. > -- > http://mail.python.org/mailman/listinfo/python-lis

Re: Comments in ConfigParser module

2007-04-08 Thread Joel Granados
On 7 Apr 2007 13:19:06 -0700, Gabriel Genellina <[EMAIL PROTECTED]> wrote: Joel Andres Granados wrote: > The module also allows the comments to appear in the same line as the > "name = value" constructs. The only difference being that this is only > possible with ";" and not with "#" character

Re: Comments in ConfigParser module

2007-04-07 Thread Gabriel Genellina
Joel Andres Granados wrote: > The module also allows the comments to appear in the same line as the > "name = value" constructs. The only difference being that this is only > possible with ";" and not with "#" character. I did not see this in the > documentation but this is how it is behaving.

Re: Comments in ConfigParser module

2007-04-07 Thread Joel Granados
On 4/6/07, James Stroud <[EMAIL PROTECTED]> wrote: Joel Andres Granados wrote: > Hi list: > Any comment greatly appreciated Very clever. -- http://mail.python.org/mailman/listinfo/python-list clever ??? Well I would expect that the ";" character to behave the same way that the "#", as th

Re: Comments in ConfigParser module

2007-04-06 Thread James Stroud
Joel Andres Granados wrote: > Hi list: > Any comment greatly appreciated Very clever. -- http://mail.python.org/mailman/listinfo/python-list

Comments in ConfigParser module

2007-04-06 Thread Joel Andres Granados
Hi list: I have run across a situation with ConfigParser Module. It refers to the comments in the configuration filed. According to the http://docs.python.org/dev/lib/module-ConfigParser.html it states that lines starting with "#" and ";" are ignored. So lines like: ; comment # comment are