On 12/13/2015 9:14 AM, austin aigbe wrote:

I am trying to redirect the IO (stdout, stdin and stderr) to the console.

For a program run from the console, console IO is the default. One must explicitly redirect to a file stream or pipe. At least on Windows, console IO is also the default for a program run with subprocess. Again, anything else must explicitly given.

> Is there a Python module for this?

Unless I have completely misunderstood the question, not needed.

--
Terry Jan Reedy

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

Reply via email to