我正在尝试使用shutil.copytree:
shutil.copytree(SOURCE_DIR, TARGET_DIR, ignore=None)
此副本还包含文件夹中的文件.我只需要复制没有任何文件的文件夹.怎么做?
python shutil
python ×1
shutil ×1