摘要: file_name = input('请输入文件名:') print('请输入内容,单独输入“:w” 保存退出:') f = open(file_name,'w') text =input() while text != ':w': f.write(text+'\n') text =input() 阅读全文
posted @ 2021-06-10 20:30 yi术家 阅读(32) 评论(0) 推荐(0)