题库 Python题库 题目列表 以只读方式打开d:\myfile.txt文件的Python代码是?(...
单选题

以只读方式打开d:\myfile.txt文件的Python代码是?( )

A.

f=open("d:\\myfile.txt")

B.

f=open("d:\\myfile.txt","rt+")

C.

f=open("d:\\myfile.txt","r+")

D.

f=open("d:\\myfile.txt","a")

题目信息
2024年 3月 选择题
0%
正确率
0
评论
100
点击