在python 3.5+可以使用pathlib的mkdir:. import pathlib pathlib.Path('/my/directory').mkdir(parents=True, exist_ok=True). pathlib的mkdir接收两 ...
確定! 回上一頁