gchr2_local.py 381 B

123456789101112131415161718
  1. import os
  2. from pathlib import Path
  3. from gchr.gchr import GCHR
  4. def gchr_local() -> None:
  5. base_dir = os.getcwd() + "\\..\\GCHR2_Testdaten\\Kunden"
  6. for path in Path(base_dir).glob("*"):
  7. if not path.is_dir():
  8. continue
  9. print(path.name)
  10. gchr = GCHR(str(path))
  11. gchr.export_all_periods()
  12. if __name__ == "__main__":
  13. gchr_local()