單項(xiàng)選擇題

在Python中,如何檢查一個(gè)文件是否存在?()

A.os.path.exists(path)
B.file.exists(path)
C.path.exists(file)
D.os.exists(file)

微信掃碼免費(fèi)搜題