pathlib.Path('/tmp/sub1/sub2').mkdir(parents=True, exist_ok=True)