如何检测stdio是否被重定向到nul?我正在开发一个包来修复在标准Windows控制台环境中运行的Python中Unicode的几个问题:https://github.com/Drekin/win-unicode-console。关键操作 ...2024-05-20 已阅读: n次