摘要: Stdout的用法 import systemp = sys.stdout##先在ys.stdout = open("student.txt","w")之前定义才有效​sys.stdout.write(str(123))##实现print的功能,print实际上就是外设输入的数据写到了stdout流 阅读全文
posted @ 2021-03-31 20:14 默默努力的路人甲 阅读(798) 评论(0) 推荐(0)