Skip to content

Instantly share code, notes, and snippets.

Embed
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()
@route('/')
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='127.0.0.1', port=5000, debug=False, reloader=True)
@justchris86

This comment has been minimized.

Copy link

justchris86 commented Aug 18, 2019

What

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.