コード例 #1
0
def main():
    '''Main page of the forum.'''
    posts = "".join(POST % (date, text) for text, date in get_posts())
    html = HTML_WRAP % posts
    return html
コード例 #2
0
def main():
  '''Main page of the forum.'''
  posts = "".join(POST % (date, text) for text, date in get_posts())
  html = HTML_WRAP % posts
  return html