1 ## -*- coding: utf-8 -*-
2 Subject: IRON BLOGGER results for the week beginning ${week_start.strftime("%F")}
3 To: iron-blogger@mit.edu
5 SLACKERS: ${", ".join(sorted([u.username for u in lame]))}
7 PUNTED for balance ≥$30: ${", ".join(sorted(punt))}
11 % for u in sorted(good, key=lambda u:u.username):
13 % for p in u.weeks[week]:
19 People who have not yet started:
20 % for u in sorted(skip, key=lambda u:u.username):
26 This week: $${5 * len(lame)}.00
31 % for (u, v) in sorted(debts, key=lambda p:p[1], reverse=True):
32 ${"%20s $%d" % (u, v)}