def main(): teamslist = read_teams('Analytics_Attachment.xlsx') #files gameslist = read_games('Analytics_Attachment.xlsx') # se = Season(teamslist, gameslist) se.run() outlist = se.get_outlist() write_outlist(outlist) #write the list out
#print(sb.get_win_lose_remain_total('Cleveland Cavaliers', teamnamelist)) #print(sb.get_div_list('Boston Celtics')) #conf_list = sb.get_conf_list('Boston Celtics') #conf_list.sort() #print(conf_list) #li = sb.sort_by_lose(teamnamelist) #print(li) #print(sb.must_div_lead('Orlando Magic')) Se = Season(teamlist, gamelist) Se.run() ''' d1=datetime.datetime.strptime('3/20/2017','%m/%d/%Y') sb = ScoreBoard(teamlist, gamelist, d1) sb.win_all('Minnesota Timberwolves') sb.win_all('Golden State Warriors') sb.win_all('San Antonio Spurs') sb.win_all('LA Clippers') sb.win_all('Houston Rockets') sb.win_all('Memphis Grizzlies') sb.win_all('Oklahoma City Thunder') sb.win_all('Utah Jazz') teamnamelist = list() for ele in teamlist.teamlist: