カレンダー(calendar.month)
#! /usr/bin/python
# coding: UTF-8
import time
import calendar
tm = time.localtime()
print "Content-type: text/html"
print """
<html>
<head>
<title>カレンダー</title>
</head>
<body>
<pre>
"""
print calendar.month(tm[0], tm[1])
print """
</pre>
</body>
</html>
"""
〔 実行する 〕