Xiang Wang @ 2019-03-25 16:48:34
- os.path.abspath
-
os.path.dirname
os.path.exists
返回是否存在这个文件或者目录-
os.path.lexists
os.path.isfile
:
Return True if path is an existing regular file. This follows symbolic links, so both islink() and isfile() can be true for the same path.