os.path 模块下提供了一些操作目录的方法,这些函数可以操作系统的目录本身。 ... os.path.split(path), 把路径分割成dirname 和basename,返回一个元组。
確定! 回上一頁