def fill_in_whitespace(text):
 text = text.replace('\\n', '\n')
 text = text.replace('\\t', ' DCTB ')
 text = text.replace('\\r', '\r')
 text = text.replace('\\a', '\x07')
 text = text.replace('\\b', '\x08')
 return text

def fill_in_whitespace ( text ) : text = text . replace ( '\\n' , '\n' ) text = text . replace ( '\\t' , ' DCTB ' ) text = text . replace ( '\\r' , '\r' ) text = text . replace ( '\\a' , '\x07' ) text = text . replace ( '\\b' , '\x08' ) return text
returns text with escaped whitespace replaced through whitespaces .