摘要: 001、文件对象read读入文件 >>> in_file = open("a.txt", "r") >>> in_file.read() ## 'abcd\nefgh\ni\n' 002、文件对象tell 返回指针再文件中的位置 >>> in_file = open("a.txt", "r") ## 阅读全文
posted @ 2023-07-03 18:11 小鲨鱼2018 阅读(475) 评论(0) 推荐(0)