ConfigParser options spanning more than one line

Josh Close narshe at gmail.com
Mon Aug 16 12:33:54 EDT 2004


I'm using ConfigParser and I can't seem to get a config option to span
more than one line.

[MyConfig]
var = blah blah blah\
        blah continued

Putting the '\' doesn't work

Is there a way to do that? Or do I have to deal with having a huge
long string all on one line?

-Josh



More information about the Python-list mailing list