📅  最后修改于: 2022-03-11 14:45:28.857000             🧑  作者: Mango
import os
import shutil
dirpath = os.path.join('dataset3', 'dataset')
if os.path.exists(dirpath) and os.path.isdir(dirpath):
shutil.rmtree(dirpath)