Skip to content
carlaskill edited this page Nov 11, 2022 · 4 revisions

Bottle Logo

Bottle is a fast and simple micro-framework for small web-applications.

Example

from bottle import route, run
@route('/hello/<name>')
def hello(name):
    return 'Hello, %s' % name
run(host='localhost', port=8080)
# --> http://localhost:8080/hello/world

Links

Clone this wiki locally