其中基名为 '/foo/bar/' 返回 'bar' ,该 basename() 函数返回一个空字符串( '' )。 在3.6 版更改: 接受类似路径的对象。 os.path.commonpath(paths).
確定! 回上一頁