Python3 file seek:修订历史

本页内容

差异选择:选中要对比的版本的单选按钮,按Enter键或下方的按钮。
说明:(当前)=与最后版本之间的差异,(之前)=与上一版本之间的差异,=小编辑。

    2022年8月17日 (星期三)

    • 当前之前 21:082022年8月17日 (三) 21:08Neo 讨论 贡献 2,167字节 +2,167 创建页面,内容为“{{DISPLAYTITLE:file.seek(offset[, whence])}}9 = Python3 File seek() 方法 = Python3 File(文件) 方法 === 概述 === '''seek()''' 方法用于移动文件读取指针到指定位置。 === 语法 === seek() 方法语法如下: <sample title="" desc="" lang="python" hererun="1"> fileObject.seek(offset[, whence]) </sample> === 参数 === * '''offset''' -- 开始的偏移量,也就是代表…”