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