I have a multiline string, something like '''...\nf.write('\n')\n...'''
when pass to exec(), I got
SyntaxError: EOL while scanning string literal

How to get rid of it?

Best Regards,
Jach Fong
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to