![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
CbdFocus
耐心是美德。
展开
-
Tornado 用户校验装饰器
def wrapper(self, *args, **kwargs): if not self.current_user: if self.request.method in ("GET", "HEAD"): url = self.get_login_url() if "?" not in url原创 2015-06-09 23:43:32 · 484 阅读 · 0 评论 -
mac 安装pil
brew install readline sqlite gdbmbrew install python --universal --framework brew install libpng jpeg freetypeln -s /opt/local/include/freetype2/ /usr/local/include/freetype2pip install pil==1.1.7 -转载 2015-08-11 11:52:59 · 247 阅读 · 0 评论 -
python 分享site-package
导出列表 pip freeze > requirements.txt 安装列表 pip install -r requirements.txt原创 2015-07-31 15:35:20 · 523 阅读 · 0 评论