| 12345678910111213141516171819202122 |
- import cProfile
- import os
- from pathlib import Path
- from gchr.gchr import GCHR
- def gchr_local() -> None:
- base_dir = os.getcwd() + "\\..\\GCHR2_Testdaten\\Kunden"
- for path in Path(base_dir).glob("*"):
- if not path.is_dir():
- continue
- print(path.name)
- gchr = GCHR(str(path))
- gchr.export_all_periods()
- if __name__ == "__main__":
- cProfile.run(
- "gchr_local()",
- "temp/gchr_local.prof",
- )
|