def execute(self, options: argparse.Namespace) -> None: self.game_path = Path(options.game_file) if 'seed' in options: self.seed = options.seed data = ch13_r05.roll_iter(options.games, self.seed) ch13_r05.write_rolls(self.game_path, data) print(f"Created {str(self.game_path)}")
def execute(self, options: argparse.Namespace) -> None: self.game_path = Path(options.game_file) data = ch13_r05.roll_iter(options.games, self.seed) ch13_r05.write_rolls(self.game_path, data) print("Created", self.game_path)