python判断路径是否是目录或者文件

2018-08-14  本文已影响0人  zhnidj

分别是 os.path.isdir(path) 和os.path.isfile(path) 

上一篇 下一篇

猜你喜欢

热点阅读