工具
python
bottle
APP
源码
from bottle import Bottle, run
app = Bottle()#新建APP
@app.route('/hello')
def hello():
return "Hello World!"
run(app, host='localhost', port=8080)
python
bottle
from bottle import Bottle, run
app = Bottle()#新建APP
@app.route('/hello')
def hello():
return "Hello World!"
run(app, host='localhost', port=8080)