just read about the ability to call encode('string_escape') on a string