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)