会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
十七楼的羊
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
20
21
22
23
24
25
26
27
28
···
48
下一页
2018年9月18日
python 协程库 tornado 的使用以及与 genvent 协程的对比
摘要: import time from tornado.httpclient import HTTPClient,AsyncHTTPClient def ssync_visit(): old_time = time.time() #HTTPClient 是tornado 同步访问HTTP客户端 http_
阅读全文
posted @ 2018-09-18 00:00 十七楼的羊
阅读(1124)
评论(0)
推荐(0)
2018年9月16日
linux io 复用基础 select epoll函数实现过程
摘要: select 是一种异步实现技术,poll与epoll都是给予select 来实现的,因此学会select至关重要,它会告诉你哪一个io事件就绪首先了解 select 函数在 c语言之中的定义: int select(int n,fd_set * readfds,fd_set * writefds,
阅读全文
posted @ 2018-09-16 16:22 十七楼的羊
阅读(177)
评论(0)
推荐(0)
2018年9月14日
PG 高级特性
摘要: 外键: 数据插入的完整性检验! CREATE TABLE cities_two ( city varchar(80) primary key, location point ); create table weather_two ( --外键指向 cities_two city varchar(80) r...
阅读全文
posted @ 2018-09-14 11:28 十七楼的羊
阅读(587)
评论(0)
推荐(0)
2018年9月13日
源码剖析 django 中间件与路由系统
摘要: class WSGIHandler(base.BaseHandler): request_class = WSGIRequest def __init__(self, *args, **kwargs): super(WSGIHandler, self).__init__(*args, **kwarg
阅读全文
posted @ 2018-09-13 16:14 十七楼的羊
阅读(272)
评论(0)
推荐(0)
项目之中进行用户登录验证的!
摘要: # -*- coding: utf-8 -*- import logging from django.conf import settings from django.contrib.auth import authenticate from django.contrib.auth.models i
阅读全文
posted @ 2018-09-13 09:59 十七楼的羊
阅读(205)
评论(0)
推荐(0)
上一页
1
···
20
21
22
23
24
25
26
27
28
···
48
下一页
公告