Skip to content

Instantly share code, notes, and snippets.

@xiantail
Created December 25, 2015 05:20
Show Gist options
  • Save xiantail/92338bb8a944700bed0f to your computer and use it in GitHub Desktop.
Save xiantail/92338bb8a944700bed0f to your computer and use it in GitHub Desktop.
Introducing Python / Chapter 9
from bottle import route, run
@route('/')
def home():
return "It isn't fancy, but it's my home page"
run(host='localhost', port=9999)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment