摘要: 文件内的光标移动 # 1.前情提要 with open(r'a.txt','r',encoding='utf8') as f: print(f.read(3)) # read在文本模式下 括号内的数字表示的是读取指定的字符个数 with open(r'a.txt', 'rb') as f: prin 阅读全文
posted @ 2022-03-15 21:17 槐序八 阅读(42) 评论(0) 推荐(0)