
| Current Path : /var/www/web-klick.de/dsh/25_ift/99_bilanz/ |
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 : /var/www/web-klick.de/dsh/25_ift/99_bilanz/rule.py |
# coding: utf8
import os,re,sys,glob,procpy.fibu,procpy.fibu.parser,random
ktofile = glob.glob("*.kto")[0]
ktotext = open(ktofile).read()
ktotext = procpy.fibu.parser.Parser().fixpoint(ktotext,
{"I6" : "0-I6", "I7" : "0-I7", "U6" : "0-U6", "U7" : "0-U7",
"I1" : "0-I1", "I2" : "0-I2", "U1" : "0-U1", "U2" : "0-U2",
"-[I6.JJMM]" : "-uebertrag-I6", "-[I7.JJMM]" : "-uebertrag-I7",
"-[U6.JJMM]" : "-uebertrag-U6", "-[U7.JJMM]" : "-uebertrag-U7",
"-[I1.JJMM]" : "-uebertrag-I1", "-[I2.JJMM]" : "-uebertrag-I2",
"-[U1.JJMM]" : "-uebertrag-U1", "-[U2.JJMM]" : "-uebertrag-U2" }
)
open(ktofile,"w").write(ktotext)