bottle第二种框架

1
2
3
4
5
6
7
8
9
10
11
12
from bottle import Bottle, run


web = Bottle()

@web.route('/')
def index():
return "hello word!"

run(web)

##默认端口为8080

转载请注明来源 https://tianweiye.github.io