相对于os.path 来说,Pathlib 极大地简化了路径相关的操作。 ... resolve() 相当于Path.cwd() path.mkdir(parents=True, exists_ok=True) # 类似mkdir ...
確定! 回上一頁