会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
默默努力的路人甲
博客园
首页
新随笔
联系
订阅
管理
2021年3月31日
Python中的sys中的stdout
摘要: 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)
公告