... 名,如分割tmp.txt 为tmp 和.txt; os.path.basename() 返回文件的名称 ... pathlib中的Path类可以创建path路径对象, 属于比os.path更高抽象级别的 ...
確定! 回上一頁