摘要: Blueprint 路由:处理URL到python函数的映射的函数,如下 官方文档:why blueprint?http://flask.pocoo.org/docs/0.11/blueprints/#why-blueprints flask web中引入blueprint的例子:要方便在不同情况下 阅读全文
posted @ 2016-11-08 21:46 autoria 阅读(281) 评论(0) 推荐(0)
摘要: iterator支持两种builtin types:__iter__ 和 __next__,资料:https://docs.python.org/2/library/stdtypes.html#iterator.next generator:https://wiki.python.org/moin/ 阅读全文
posted @ 2016-11-08 00:11 autoria 阅读(160) 评论(0) 推荐(0)