会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
最冷不过冬夜
博客园
首页
新随笔
联系
订阅
管理
2020年6月11日
2020 python学习第九天————文件操作续
摘要: 1 with上下文管理 with open('a.txt', mode='rt', encoding='utf-8') as f1 , open('b.txt', mode='rt', encoding='utf-8') as f2: # 自动调用f1.close()、f2.close()回收操作系
阅读全文
posted @ 2020-06-11 16:32 最冷不过冬夜
阅读(104)
评论(0)
推荐(0)
编辑
公告