import nfldb db = nfldb.connect() phase, year, week = nfldb.current(db) q = nfldb.Query(db).game(season_year=year, season_type=phase, week=week) for g in q.as_games(): print '%s (%d) at %s (%d)' % (g.home_team, g.home_score, g.away_team, g.away_score)

Thursday, July 3, 2014