def indent(string, prefix='    '):
    """
    Indent every line of this string.
    """
    return ''.join('%s%s\n' % (prefix, s) for s in string.split('\n'))
dataset/ETHPy150Open jonathanslenders/python-deployer/deployer/utils/string_utils.py/indent/original