parsing text

Oleg Broytmann phd at phd.russ.ru
Fri Feb 4 07:16:55 EST 2000


On Fri, 4 Feb 2000, Mike Partin wrote:
> Hi again, I'm currently having a problem parsing text, reading it actually. I'm
> trying to read a config file in the form of name=value I'd need to search for
> name, and return value. If anyone has any code snippets that do nething like
> this I would appreciate it.

   There is ConfigParser standard module. Don't know about docs for it.

   Once i wrote a collection of modules to handle "databases" in text
files, including config files...

Oleg.
---- 
    Oleg Broytmann      Foundation for Effective Policies      phd at phd.russ.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list