Skip to content

Instantly share code, notes, and snippets.

@mcburton
mcburton / bottling.py
Last active August 29, 2015 13:56 — forked from anonymous/bottling.py
added rough API sketch and some fooling with templates
from bottle import route, run, template, static_file, error, SimpleTemplate
## this is a test
@route('/')
def home():
return base_template.render(title="hi", content="what?")
@route('/static/<filename>')
def static(filename):