homepage.py
来自「python web programming 部分」· Python 代码 · 共 26 行
PY
26 行
#
# $Workfile: HomePage.py $ $Revision: 11 $
# $Date: 10/07/01 1:43p $ $Author: Sholden $
#
import Web
from Error import Error
class Home(Web.Page):
def Title(self):
return "Welcome to PythonTeach.com!"
def Body(self):
return """
<H3>Welcome to PythonTeach.com!</H3>
<P><B>New Features:</B><BR>
Course listings available under "Courses" at the left.<BR>
You can now <A HREF="/NewAccount/PythonTeach/">open an account</A>
on the site. All testing/feedback appreciated!<BR>
There is a <A HREF="Demo/Demo.htm">rolling demo</A> of the site.<BR>
Spiffy graphics thanks to <A HREF="http://www.immersionactive.com/">
Dave Beaudoin<a>.</P>
<P>NOTE: I would appreciate reports of any errors by
<A HREF="mailto:pyteacherror@holdenweb.com">email</A></P>"""
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?