I have a program that runs like this:

  foo.py <inputfile

I want to reconnect stdin to the tty as usual after 'inputfile'
has been read so that things like raw_input and getpass
will work as expected.

So, after I do .... = sys.stdin.readlines(), how to I reopen
stdin in its nonredirected mode?
--
-----------------------------------------------------------------------
Tim Daneliuk
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to