pip install bottle python from bottle import route, run @route('/') def home(): return "Hello, World!" run(host='localhost', port=8080) python from bottle import route, run @route('/') def home(): return "Hello, World!" run() python from bottle import route, run, WSGIRefServer @route('/') def home(): return "Hello, World!" run(server=WSGIRefServer)


上一篇:
下一篇:
切换中文