摘要: F.read()和F.readlines(): 1 #Python读取txt 2 def Fread(): 3 print(' read by .read() ') 4 with open('test.txt', encoding='utf-8') as file: 5 content = file 阅读全文
posted @ 2022-09-05 15:28 Xxiaoyu 阅读(2492) 评论(0) 推荐(0) 编辑