otime/dev.py

17 lines
533 B
Python
Raw Normal View History

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')
2022-04-01 18:13:27 +00:00
event.import_ttime_cnf('k2ds/tt.cnf')
event.import_ttime_db('k2ds/db.csv')
event.import_mtr_file('k2ds/mtr.txt')
2022-03-03 14:39:59 +00:00
#card_punches = otime.card_punch.list_from_mtr_f('sc_2021_ttime/mtr.csv')
event.match_runners_cards()
2022-04-01 18:13:27 +00:00
event.create_start_list_pdf('starttimes.pdf')
#event.get_xml_res().write('Resultater.xml')