摘要:
转载:https://www.cnblogs.com/zhxwind/p/8761618.html 文件的读写有三种形式:读、写和追加。 一、读模式 r 和读写模式 r+ 1、读模式 r 读模式r特点:(1)只能读,不能写;(2)文件不存在时会报错。 (1)例:读取当前目录下的books.txt文件 阅读全文
posted @ 2020-12-21 09:42
burlingame
阅读(2073)
评论(0)
推荐(0)
浙公网安备 33010602011771号