Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Starter Bottle app with a single route
import bottle
from bottle import route, run, Response
app = bottle.default_app()
def index():
"""Returns standard text response to show app is working."""
return Response("My Bottle app is up and running!")
if __name__ == '__main__':
run(host='', port=5000, debug=False, reloader=True)

This comment has been minimized.

Copy link

justchris86 commented Aug 18, 2019


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.