87,994
社区成员
发帖
与我相关
我的任务
分享# web.py
import web
urls = ('/main', 'main')
render = web.template.render('templates/')
class main:
def GET(self):
return render.main()
app = web.application(urls, globals())
if __name__ == "__main__":
app.run()<!DOCTYPE html>
<html>
<head>
<title>title</title>
<script src="echarts.min.js"></script>
</head>
<body>
<p>Hello world!+++</p>