一直用os.path模块处理与文件路径有关的操作,python从3.4开始提供了pathlib, ... from pathlib import Path >>> p = Path('abc') >>> p.resolve() ...
確定! 回上一頁