ConfigParser

Gustavo Niemeyer niemeyer at conectiva.com
Sun Jun 16 15:00:24 EDT 2002


> The problems is: when I use this file from GUI I don't want variables
> to be expanded, but when I use it from "run" program I do want it. How
> I do it?

Use the raw parameter:

parser.get("section", "option", raw=1)

-- 
Gustavo Niemeyer

[ 2AAC 7928 0FBF 0299 5EB5  60E2 2253 B29A 6664 3A0C ]





More information about the Python-list mailing list