def live_scores(self, live_scores):
scores = sorted(live_scores, key=lambda x: x["<STR_LIT>"])<EOL>for league, games in groupby(scores, key=lambda x: x["<STR_LIT>"]):<EOL><INDENT>self.league_header(league)<EOL>for game in games:<EOL><INDENT>self.scores(self.parse_result(game), add_new_line=False)<EOL>click.secho('<STR_LIT>' % Stdout.utc_to_local(game["<STR_LIT:time>"],<EOL>use_12_hour_format=False),<EOL>fg=self.colors.TIME)<EOL>click.echo()<EOL><DEDENT><DEDENT>
Prints the live scores in a pretty format