Message395111
If you intend to import the stdlib sys and succeed, the original stdout is called '__stdout__'. See
https://docs.python.org/3/library/sys.html#sys.__stdin__, including the note that it may be None on Windows. Also peruse that doc to see what attributes sys *does* have.
When you have questions about using python, please post first to python-list or other question-answering forums. |
|
Date |
User |
Action |
Args |
2021-06-04 18:47:29 | terry.reedy | set | recipients:
+ terry.reedy, steven.daprano, chinmay.malvania |
2021-06-04 18:47:29 | terry.reedy | set | messageid: <1622832449.33.0.538169252308.issue44266@roundup.psfhosted.org> |
2021-06-04 18:47:29 | terry.reedy | link | issue44266 messages |
2021-06-04 18:47:29 | terry.reedy | create | |
|