Hi, I have tried this:
<pre> import ConfigParser fp = file("test.conf","w+") cp = ConfigParser.ConfigParser() cp.add_section("Section1") cp.set("Section1","Value1",12345) cp.write(fp) </pre> and works fine for me. -- http://mail.python.org/mailman/listinfo/python-list