def remove_indents(txt):
 txt = re.sub('(?miu)^\\s+', '', txt)
 return txt

def remove_indents ( txt ) : txt = re . sub ( '(?miu)^\\s+' , '' , txt ) return txt
remove whitespace at the beginning of each line .