Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #100377 > unrolled thread
| Started by | austin aigbe <eshikafe@gmail.com> |
|---|---|
| First post | 2015-12-13 06:14 -0800 |
| Last post | 2015-12-13 14:13 -0500 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
Python IO Redirection to Console austin aigbe <eshikafe@gmail.com> - 2015-12-13 06:14 -0800
Re: Python IO Redirection to Console Terry Reedy <tjreedy@udel.edu> - 2015-12-13 14:13 -0500
| From | austin aigbe <eshikafe@gmail.com> |
|---|---|
| Date | 2015-12-13 06:14 -0800 |
| Subject | Python IO Redirection to Console |
| Message-ID | <36dcb7f1-53a1-42a1-b0de-94b919decb42@googlegroups.com> |
Hello, I am trying to redirect the IO (stdout, stdin and stderr) to the console. Is there a Python module for this? Thanks. Regards
[toc] | [next] | [standalone]
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2015-12-13 14:13 -0500 |
| Message-ID | <mailman.214.1450034002.12405.python-list@python.org> |
| In reply to | #100377 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web