Python 支持哪些文件打开模式?
Explain all file processing modes supported in Python.
题目类型: 技术面试题
这是一道技术面试题,常见于澳洲IT公司面试中。
难度: medium
分类: file-processing
标签: python, file-mode
参考答案摘要
TL;DR 常见模式: r 读、 w 写、 a 追加、 + 读写;文本加 t ,二进制加 b 。 r , w , a rb , wb , ab r+ , w+ , a+
本题提供 STAR 原则详细解答和技术解析,登录匠人学院学习中心即可查看完整答案。