[Tutor] Python and config files?
Andreas Kostyrka
andreas at kostyrka.org
Thu Oct 26 15:51:07 CEST 2006
Actually, for Unixish config files, shlex seems the better module.
Andreas
Am Donnerstag, den 26.10.2006, 09:24 -0400 schrieb Kent Johnson:
> Basil Shubin wrote:
> > Hi, friends!
> >
> > Is there exist a module for working with config file? Simple enough,
> > just read/write config file (like for most unix app), determine where
> > row is contain config words with it's parameters (like
> > 'config_word=parameter') or it's a comments (#)?
>
> Take a look at the ConfigParser module:
> http://docs.python.org/lib/module-ConfigParser.html
>
> Kent
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://mail.python.org/pipermail/tutor/attachments/20061026/04637ddf/attachment-0001.pgp
More information about the Tutor
mailing list