from pathlib import Path import shutil out=Path(__file__).resolve().parent;target=out/'historico/antes-ajuste-localizacoes/revisao';assert not target.exists();shutil.copytree(out/'para-revisao',target)