单项选择题
A.os.path.exists(path/filename) B.os.rename() C.os.walk(path) D.os.path.getsize(filename)
创建目录或多层目录的方法是()()A.os.mkdir/makedirs(dirname)B.os.path....
单项选择题创建目录或多层目录的方法是()()
A.os.mkdir/makedirs(dirname) B.os.path.getsize(filename) C.os.path.exists(path/filename) D.os.walk(path)
在os模块中重命名文件的方法是()A.os.path.isdir(path)B.os.remove()C.os...
单项选择题在os模块中重命名文件的方法是()
A.os.path.isdir(path) B.os.remove() C.os.rename() D.os.listdir(path)
删除指定文件的方法是()A.os.remove()B.os.path.isdir(path)C.os.path...
单项选择题删除指定文件的方法是()
A.os.remove() B.os.path.isdir(path) C.os.path.join D.os.listdir(path)