How can I split an assignment like this onto two lines?
myLongVariableName = 'some somewhat long format string like this %s' % myOtherVariable
I tried a few variations:
myLongVariableName = 'some somewhat long format string like this %s'
% myOtherVariable
myLongVariableName = 'some somewhat long format string like this %s' %
myOtherVariable
myLongVariableName =
'some somewhat long format string like this %s' % myOtherVariable
My searching is coming up short. What I've found mostly talks about indenting blocks of code or parameters, not long expressions.