关于语句f=open(demo.txt,r),下列说法不正确的是()
(A)demo.txt文件必须已经存在
(B)只能从demo.txt文件读数据,而不能向该文件写数据
(C)只能向demo.txt文件写数据,而不能从该文件读数据
(D)"r"方式是默认的文件打开方式
参考答案
继续答题:下一题


(A)demo.txt文件必须已经存在
(B)只能从demo.txt文件读数据,而不能向该文件写数据
(C)只能向demo.txt文件写数据,而不能从该文件读数据
(D)"r"方式是默认的文件打开方式