a)outfile = open(“c:scores.txt”,“r”)
b)outfile = open(“c:scores.txt”,“w”)
c)outfile = open(file =“c:scores.txt “,”r“)
d)outfile = open(file =”c:scores.txt“,”o“)
a)outfile = open(“c:scores.txt”,“r”)
b)outfile = open(“c:scores.txt”,“w”)
c)outfile = open(file =“c:scores.txt “,”r“)
d)outfile = open(file =”c:scores.txt“,”o“)
b)该位置包含双斜杠(),w用于表示正在写入文件。