第14925题 单选题
Python复制图片文件的示例代码中open函数两个横线处应分别填入什么参数?

以下是Python复制图片文件的示例代码(文件名仅为示例,文件位置假设正确),横线处分别应填入( )。

sourceFile = open("CCF.png",
"__________")
sourceData = sourceFile.read()
sourceFile.close()

targetFile = open("CCF_bak.png",
"__________")
targetFile.write(sourceData)
targetFile.close()
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析