f_path = Path('C:/pathlib/data/test.txt') ## 取得檔案全名print(f_path.name) ## 取得檔案副檔名print(f_path.suffix) ## 取得檔案 ...
確定! 回上一頁