ConfigParser: use newline in INI file

jim.womeldorf at gmail.com jim.womeldorf at gmail.com
Thu Mar 7 11:59:27 EST 2019


On Thursday, March 7, 2019 at 10:38:03 AM UTC-6, jim.wo... at gmail.com wrote:
> On Saturday, October 1, 2016 at 9:57:24 AM UTC-5, Thorsten Kampe wrote:
> > Hi,
> > 
> > ConfigParser escapes `\n` in ini values as `\\n`. Is there a way to 
> > signal to ConfigParser that there is a line break?
> > 
> > Thorsten
> 
> And now we know!
> I think they should have named Python 3 something else

I just tried "unicode_decode" in place of "string-decode" and it works.  My impression is that it will also work in Python 3



More information about the Python-list mailing list