generated from dopt-python/py311
add additional package folder
This commit is contained in:
parent
98d340ff01
commit
c3249ed60e
@ -16,16 +16,36 @@ def recreate_folder(folder_name: str) -> Path:
|
|||||||
|
|
||||||
|
|
||||||
def main() -> None:
|
def main() -> None:
|
||||||
|
paths_src: list[Path] = []
|
||||||
|
paths_dst: list[Path] = []
|
||||||
|
|
||||||
_ = recreate_folder("Daten")
|
_ = recreate_folder("Daten")
|
||||||
_ = recreate_folder("KI")
|
_ = recreate_folder("KI")
|
||||||
p_data = recreate_folder(
|
# packages
|
||||||
"./Verifizierdaten_1/20260225/614706_helles Entek/614706_helles Entek[3136761]_1"
|
|
||||||
)
|
|
||||||
p_orig_data = (
|
p_orig_data = (
|
||||||
BASE_PATH / "_Originaldaten/614706_helles Entek/614706_helles Entek[3136761]_1"
|
BASE_PATH / "_Originaldaten/614706_helles Entek/614706_helles Entek[3136761]_1"
|
||||||
)
|
)
|
||||||
assert p_orig_data.exists(), "original data not existing"
|
assert p_orig_data.exists(), "original data not existing"
|
||||||
shutil.copytree(p_orig_data, p_data, dirs_exist_ok=True)
|
paths_src.append(p_orig_data)
|
||||||
|
|
||||||
|
p_data = recreate_folder(
|
||||||
|
"Verifizierdaten_1/20260225/614706_helles Entek/614706_helles Entek[3136761]_1"
|
||||||
|
)
|
||||||
|
paths_dst.append(p_data)
|
||||||
|
|
||||||
|
p_orig_data = (
|
||||||
|
BASE_PATH / "_Originaldaten/614706_helles Entek/614706_helles Entek[3136761]_2"
|
||||||
|
)
|
||||||
|
assert p_orig_data.exists(), "original data not existing"
|
||||||
|
paths_src.append(p_orig_data)
|
||||||
|
|
||||||
|
p_data = recreate_folder(
|
||||||
|
"Verifizierdaten_1/20260225/614706_helles Entek/614706_helles Entek[3136761]_2"
|
||||||
|
)
|
||||||
|
paths_dst.append(p_data)
|
||||||
|
|
||||||
|
for src, dst in zip(paths_src, paths_dst):
|
||||||
|
shutil.copytree(src, dst, dirs_exist_ok=True)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user