For example:
command """%s abc %s,
abs %s jfh %s etc...""" % (var1, var2, var3, var4)
I need to write that vars in multiline because there are a lot of them in code (for updating database).
Tested:
% (var1, var2,\
var3,var4)
not working. (Also tested without "," at the end of first line)
Error: Showing last ")" and:
SyntaxError: EOL while scanning string literal
PS. We got a good answer to this question, also problem was "%s"""" at the end, it should be: "%s" """ - yes, one blank space solves problem)))