Help! ConfigParser module
Fred L. Drake, Jr.
fdrake at acm.org
Thu Dec 9 13:17:45 EST 1999
Marshall writes:
> I can't get ConfigParser to initialize. Here is what I tried:
>
> import ConfigParser
> mycfgfile=ConfigParser.read("myconf.cfg")
>
> I get a Attribute error - read
> message back
from ConfigParser import ConfigParser
mycfgfile = ConfigParser()
mycfgfile.read(["myconf.cfg"])
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
Corporation for National Research Initiatives
More information about the Python-list
mailing list