We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
import os os.path.basename() 去掉目录路径,返回文件名 os.path.dirname() 去掉文件名,返回目录路径 os.path.getatime() os.path.getctime() os.path.getmtime() os.path.size() 返回文件的atime,ctime,mtime和大小 os.path.exists() 该文件或目录是否存在 os.path.abs() 指定路径是否为绝对路径 os.path.isdir() 路径是否存在且为目录 os.path.isfile() 路径是否存在且为文件。 os.path.islink() 指定路径是否存在且为一个符号链接
There was an error while loading. Please reload this page.
[[TOC]]