過去我在執行有關路徑的操作,幾乎都是使用os.path,但是因為工作的關係 ... 取得檔案全名print(f_path.name) ## 取得檔案副檔名print(f_path.suffix) ...
確定! 回上一頁