remove newline in string 'unix eol\n' on the right side,'Unix EOL\n'.rstrip('\r\n')