Skip to content

Instantly share code, notes, and snippets.

@bricef
Created March 3, 2012 22:42
Show Gist options
  • Save bricef/1968765 to your computer and use it in GitHub Desktop.
Save bricef/1968765 to your computer and use it in GitHub Desktop.
Trivially simple Bottlepy application
from bottle import route, run
@route('/hello')
def hello():
return "Hello World!"
application = bottle.default_app()
if __name__ == "__main__:
run(host='localhost', port=8080, debug=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment