而现在,我会更加喜欢用新式的pathlib, 虽然用得还是没有os.path 熟练, ... from pathlib import Path ... 文件名, os.path.basename, PurePath.name.
確定! 回上一頁