Python CGI scripting: Use a dictionary for print subsitution | Hacker News Reader