Joseph Armbruster added the comment: >>> import sys >>> x = input() Hi: >>> repr(x) "'Hi:'" >>> x = sys.stdin.readline() Hi: >>> repr(x) "'Hi:\\n'" __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1667> __________________________________