在 os 和 pathlib 的模組中都包含了建立目錄的函式. ... os.chdir(basepath) if not os.path.exists(os.path.join(basepath,'c')): os.mkdir('c') ...
確定! 回上一頁