This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import datetime | |
from collections import OrderedDict | |
def create_racer_abbreviations_dict(file_name): | |
"""Retrieves {'abbreviation': (name, team)}" format dict from abbreviations.txt""" | |
abbreviations_dict = {} | |
with open(file_name, 'r') as fn: | |
for line in fn: |