摘要: 文件操作 +模式: r+t w+t a+t r+b w+b a+b 可读可写,其他功能与人,r,w,a相同 f.seek(offset,whence) 文件指针移动 offest的单位为bytes whence是参照物 f.seek(3,0) whence默认值为0 0:文件开头开始 1:当前指针位 阅读全文
posted @ 2018-06-05 14:37 luck_L 阅读(473) 评论(0) 推荐(0) 编辑