08 2017 档案

摘要:网络 通用 urllib -网络库(stdlib)。 requests -网络库。 grab – 网络库(基于pycurl)。 pycurl – 网络库(绑定libcurl)。 urllib3 – Python HTTP库,安全连接池、支持文件post、可用性高。 httplib2 – 网络库。 R 阅读全文
posted @ 2017-08-29 18:35 破晓e 阅读(603) 评论(0) 推荐(0)
摘要:#encoding:utf8 import time import redis conn = redis.Redis('localhost',db=1) #连接诶数据库并使用数据库1 def insert_data(): while True: conn.lpush('key','value') 向key中增加值 time.... 阅读全文
posted @ 2017-08-20 16:43 破晓e 阅读(169) 评论(0) 推荐(0)
摘要:链接 https://github.com/MicrosoftArchive/redis/releases 选择版本下载 在redis目录打开cmd命令输入 redis-server.exe redis.windows.conf --maxmemory 200M 200M是数据库大小 回车后redi 阅读全文
posted @ 2017-08-20 15:44 破晓e 阅读(2397) 评论(0) 推荐(0)
摘要:#!/usr/bin/env python """Setuptools bootstrapping installer. Maintained at https://github.com/pypa/setuptools/tree/bootstrap. Run this script to insta 阅读全文
posted @ 2017-08-15 13:58 破晓e 阅读(356) 评论(0) 推荐(0)