若要打开C盘上user子目录下名为abc.txt的文本文件进行读、写操作,下面符合此要求的函数调用是()

A.open("C:\user\abc.txt","r") B.open("C:\\user\\abc.txt","r+") C.open("C:\user\abc.txt","rb") D.open("C:\\user\\abc.txt","w")

时间:2024-06-15 11:25:01

相似题目