Explain all file processing modes supported in Python.
Explain all file processing modes supported in Python.
题目类型: 技术面试题
这是一道技术面试题,常见于澳洲IT公司面试中。
难度: medium
分类: file-processing
标签: python, file-mode, read-write
参考答案摘要
TL;DR Python supports read/write/append modes, plus binary/text modifiers and read-write combinations. Common modes r : read w : write (truncate) a : append r+ , w+ , a+ : read/write b : binary mode (...
本题提供 STAR 原则详细解答和技术解析,登录匠人学院学习中心即可查看完整答案。