コード例 #1
0
ファイル: simulation.py プロジェクト: frahman5/beatthestreak
    def setup(self):
    	"""
    	None -> None

    	Downloads and parses necessary retrosheet data for the simulation
    	"""
        retro = Retrosheet(self.simYear)
        Utilities.ensure_gamelog_files_exist(self.simYear)
        Utilities.ensure_boxscore_files_exist(self.simYear, 'HOU')
        retro.clean_used_files()