Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
render_xml = lambda message: '<message>%s</message>' % message
render_json = jsonify
render_html = lambda message: '<html><body>%s</body></html>' % message
render_txt = lambda message: message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment