deptqod.py

来自「python web programming 部分」· Python 代码 · 共 18 行

PY
18
字号
#
# $Workfile: DeptQod.py $ $Revision: 1 $
# $Date: 9/03/01 12:01p $ $Author: Sholden $
#
import Dept


class Page(Dept.Page):

    def Body(self):
        result = [self.DeptHeader(),
                    """<B><I>Question of the Day</I></B><BR><BR>%s<BR><BR>%s<BR><BR>""" %
                     self.qod[1:3]]
        result.append("""<A HREF="/DeptQodAns/%s">Click for the answer</A>""" % self.dpt.DptCode)
        return "\n".join(result)


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?