def foo(): s = "some text {param1} " \ "some more text 12 {param2}".format(param1="Val1")