A、in_file = open('input.txt','w')
B、in_file = open('input.txt',r)
C、in_file = open('input.txt','r')
D、都不正确
第1题:
假定用下面的语句打开文件: Open"Filcl.txt"For Input As#1 则不能正确读文件的语句是( )。
A.Input#1,ch$
B.Line Input#1,ch$
C.ch$一Input$(5,#1)
D.Read#1,ch$
第2题:
某文件的权限是 - r w x r - - r- -,下面描述正确的是
A.文件的权限值是755
B.文件的所有者对文件只有读权 限
C.文件的权限值是 744
D.其他用户对文件只有读权限
第3题:
【多选题】下面哪些是python读对象提供的“读”方法?
A.readlines()
B.read()
C.readtext()
D.readline()
第4题:
(24)假定用下面的语句打开文件:
Open"File l .txt"For Input As#1
则不能正确读文件的语句是
A)Input # 1, ch$
B)Line Input # 1, ch$
C)ch$=Input$(5, # 1)
D)Read # 1, ch$
第5题:
下列哪个不是 正确的Python 文件“读”方法?
A.read()
B.readlines()
C.readall()
D.readline()