相关考题
-
单项选择题
在Python中,如何关闭一个打开的文件?()
A.file.close()
B.file.end()
C.close(file)
D.file.exit() -
单项选择题
在Python中,哪个模块用于访问网络资源?()
A.net
B.urllib
C.requests
D.所有以上的选项 -
单项选择题
在Python中,如何创建一个新文件?()
A.open("filename","w")
B.open("filename","a")
C.create("filename")
D.new File("filename")
