otime-testing/dev.py

16 lines
527 B
Python

import otime
from rich import print
from rich import inspect
from rich.console import Console
from rich.columns import Columns
from rich.table import Table
if __name__ == "__main__":
event = otime.event(0, 'supercup')
event.import_ttime_cnf('sc_2021_ttime/ttime.cnf.txt')
event.import_ttime_db('sc_2021_ttime/db_eventor.csv')
event.import_mtr_file('sc_2021_ttime/mtr.csv')
#card_punches = otime.card_punch.list_from_mtr_f('sc_2021_ttime/mtr.csv')
event.match_runners_cards()
event.get_xml_res().write('Resultater.xml')