← 查看本卷题目GESP Python 4级2025年12月单选题 第11题 · 2 分在Python中,以下哪个选项可以正确地读取一个二进制文件并打印其内容?( ) 填写答案A1with open('image.bmp', 'r') as f: print(f.read())B1with open('image.bmp', 'w') as f: print(f.read())C1with open('image.bmp', 'a') as f: print(f.read())D1with open('image.bmp', 'rb') as f: print(f.read())提交答案详细解析这题不会 ← 上一题 第 9 / 36 题← → 键切题 下一题 →
在Python中,以下哪个选项可以正确地读取一个二进制文件并打印其内容?( ) 填写答案A1with open('image.bmp', 'r') as f: print(f.read())B1with open('image.bmp', 'w') as f: print(f.read())C1with open('image.bmp', 'a') as f: print(f.read())D1with open('image.bmp', 'rb') as f: print(f.read())提交答案详细解析这题不会