On 2/12/11 03:46:10, Dan Stromberg wrote:

You can read piped data from sys.stdin normally.  Then if you want
something from the user, at least on most *ix's, you would open
/dev/tty and get user input from there.  'Not sure about OS/X.

Reading from /dev/tty works fine on OS/X.

-- HansM

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to