redis xlrd xlwt
(1)python redis安装
cmd输入命令: pip install redis
python中安装并使用redis
数据缓存系统:
1:mongodb:是直接持久化,直接存储于硬盘的缓存系统
2:redis: 半持久化,存储于内存和硬盘
3:memcache:数据只能存储在内存里的缓存系统
redis
是一个key-value存储系统,支持的value类型:string,list,set,zset(有序集合),hash(哈希类型),这些数据类型都支持:push/pop,add/remove及取交集并集和差集。这些操作都是原子性的。
pyhcarm中安装redis模块
这里我们以python3为例
在cmd里输入 pip install redis
(2)python xlrd安装
(3)python xlwt安装