How do I detect whether sys.stdout is attached to terminal or not? [duplicate]

前端 未结 1 362
长情又很酷
长情又很酷 2020-11-30 19:36
热议问题