- 博客(1)
- 收藏
- 关注
原创 重定向print测试函数执行过程
import sys class HasWrite: def __init__(self): self.counter = 1 self.console = sys.stdout self.store = [] def write(self, string): self.store.append(string)...
2018-11-11 21:30:51 189
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人