标签:
python读取
后浪云Python教程:python读取txt文件
1、readline()读取第一行内容,只读取文本第一行的内容,以字符串的形式返回结果 with open("test.txt", "r") as f: ……
2023-03-01 后浪云
0
0