text = """A very very very very very very very very very very very very very very very very
long mutiline
string"""
lines = text.splitlines()
indented = [('    ' + l) for l in lines]
indented[0] = lines[0]
indented = '\n'.join(indented)
Python: Indent all lines of a string except first while preserving linebreaks?