def load_players(self):
    with open('./data/players.json') as tData:
        data = json.load(tData)
        for season in data:
            if (not (season in self.seasons)):
                self.seasons[season] = {'players': {}}
            for gender in data[season]:
                if (not (gender in self.seasons[season]['players'])):
                    self.seasons[season]['players'][gender] = []
                for player in data[season][gender]:
                    self.seasons[season]['players'][gender].append(player)
def load_players(self):
    with open('./data/players.json') as tData:
        data = json.load(tData)
        for season in data:
            if (not (season in self.seasons)):
                self.seasons[season] = {'players': {}}
            for gender in data[season]:
                if (not (gender in self.seasons[season]['players'])):
                    self.seasons[season]['players'][gender] = []
                for player in data[season][gender]:
                    self.seasons[season]['players'][gender].append(player)