2016年8月12日

python tornado框架使用

摘要: 处理方法 t_handler.py Url路径,处理方法对应关系 t_url.py 启动进程 t_tornado.py 运行结果: 浏览器访问结果: 阅读全文

posted @ 2016-08-12 17:18 迪米特 阅读(229) 评论(0) 推荐(0) 编辑

python数据库连接池

摘要: python数据库连接池 import psycopg2 import psycopg2.pool dbpool=psycopg2.pool.PersistentConnectionPool(1,1,dbname='postgis',user='postgres',host='127.0.0.1',password='1',port='5432') conn=dbpool.getconn() c... 阅读全文

posted @ 2016-08-12 14:57 迪米特 阅读(1822) 评论(0) 推荐(0) 编辑

python操作数据库

摘要: psycopg查询 psycopg插入 psycopg修改 psycopg删除 阅读全文

posted @ 2016-08-12 14:22 迪米特 阅读(254) 评论(0) 推荐(0) 编辑

python三种数据库连接池方式

摘要: psycopg2.pool – Connections pooling Creating new PostgreSQL connections can be an expensive operation. This module offers a few pure Python classes im 阅读全文

posted @ 2016-08-12 13:54 迪米特 阅读(2975) 评论(0) 推荐(0) 编辑

20 款超棒免费的 Bootstrap 管理和前端模板

摘要: http://www.oschina.net/news/62506/20-best-free-bootstrap-admin-and-frontend-templates-2015 阅读全文

posted @ 2016-08-12 11:20 迪米特 阅读(448) 评论(0) 推荐(0) 编辑

导航