For Python ? 3.5, use pathlib.Path.mkdir : import pathlib pathlib.Path("/tmp/path/to/desired/directory").mkdir(parents=True, exist_ok=True).
確定! 回上一頁