
| Current Path : /home/cgabriel/10_company_xx/45_12park/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : //home/cgabriel/10_company_xx/45_12park/actualize.py |
import os,re,sys,glob
if __name__ == "__main__":
for dir in glob.glob("10_*"): # hier werden Kontozahlungen eingelesen, z.Zt aber obsoloet, da das alles in 01_12park/ift gemacht wird
# continue
if os.path.isdir(dir):
print("=================");
print("Processing " + dir);
print("=================");
os.system("chdir " + dir + ";python3 -m konto.base.konto; python3 -m konto.parser.csv; python3 -m konto.base.konto; chdir ..")
for dir in glob.glob("20*"): # hier werden die Bilder eingelesen und zu Vertragsstrafen-Buchungen gemacht
# continue
if os.path.isdir(dir):
print("=================");
print("Processing " + dir);
print("=================");
os.system("chdir " + dir + ";python3 -m konto.base.konto; python3 -m park.manage penalty; python3 -m konto.base.konto; chdir ..")
for dir in glob.glob("18_*"): # hier werden die aktuellen Vertragsstrafen-Konten upgedated
if os.path.isdir(dir):
print("=================");
print("Processing " + dir);
print("=================");
os.system("chdir " + dir + ";less ../20*/*.kto.html | python3 -m park.manage check_accounts; chdir ..")