However, if we're using Pathlib, it becomes much easier to handle this error. Path('test_dir').mkdir(exist_ok=True). The function mkdir() accepts a flag ...
確定! 回上一頁