随笔分类 - Bottle
Bottle is a light-weight web framework which only depends on the original python packages. Other kinds of ORM, template engine, user associating management system, WSGI-middleware can be added into a bottle project which would run syntactically.
Here I will write down those useful information while I am learning this light-weight framework.
Enjoy :)
摘要:I spent several days on building a system about this. And make it work well with serveral thousand lines of codes.
阅读全文
摘要:pythonbottle framework#!/usr/bin/python# -*- coding utf-8 -*-from bottle import route, run, debug, request#from cgi import escape@route('/hello', method='GET')def hello(): name = request.GET.get('name') if not name: name = "This guy's unknow :(" return 'Hell
阅读全文