Skip to content

Instantly share code, notes, and snippets.

@djmunro
Created December 10, 2015 02:52
Show Gist options
  • Save djmunro/d55e463b1ebdcfd02b91 to your computer and use it in GitHub Desktop.
Save djmunro/d55e463b1ebdcfd02b91 to your computer and use it in GitHub Desktop.
def print_grid(tuple, data):
t1 = max([len(str(x[t])) for x in data])
print_grid(('Function', 'Occurences' 'Sender'), [(x['function'], x['sender']) for x in messages if 'function' in x])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment