含副檔名basename = os.path.basename(file_path) 不含副檔名file_name = os.path.splitext(basename)[0] ... 【Python】python print 變數的值& 變數名稱方法總整理.
確定! 回上一頁