Path.stem,获取文件名不包含后缀名。 Path.suffix,获取文件的后缀名。 Path.anchor,获取文件所在的盘符。 from pathlib import Path txtPath ...
確定! 回上一頁