上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: 缺少rpm包 rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm 然后再使用yum安装 阅读全文
posted @ 2019-05-29 10:05 破晓e 阅读(552) 评论(0) 推荐(0) 编辑
摘要: 1、在spider文件夹同级目录创建commands python包 2、在包下创建command.py文件 3、从scrapy.commands包下引入ScrapyCommand 4、创建一个类,继承ScrapyCommand 5、重新定义类变量 requires_project = True 6 阅读全文
posted @ 2019-04-15 15:58 破晓e 阅读(380) 评论(0) 推荐(0) 编辑
摘要: 第一步:安装berkeleydb数据库 第二部:pip install bsddb3 第三部:pip install scrapy-deltafetch 第四部: settings.py设置 SPIDER_MIDDLEWARES = { ‘scrapy_deltafetch.DeltaFetch’: 阅读全文
posted @ 2019-02-14 11:21 破晓e 阅读(364) 评论(0) 推荐(0) 编辑
摘要: 优势:微框架 高性能 异步支持 缺点:轮子少 缺少最佳实践,使用的公司少。 使用场景:构建微服务。 简单的例子: tornado变量传值 html页面 后端写class Px_web(tornado.web.RequestHandler): def get(self): tornado的异步使用 阅读全文
posted @ 2019-01-28 17:51 破晓e 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 阅读全文
posted @ 2018-12-17 18:21 破晓e 阅读(297) 评论(0) 推荐(0) 编辑
摘要: yum install mysql-devel 阅读全文
posted @ 2018-12-12 22:36 破晓e 阅读(124) 评论(0) 推荐(0) 编辑
摘要: # yum install zlib # yum install zlib-devel 下载成功后,进入python2.7的目录,重新执行 #make #make install 此时先前执行的 软连接仍旧生效 然后进入 setuptool目录, 阅读全文
posted @ 2018-12-12 22:35 破晓e 阅读(192) 评论(0) 推荐(0) 编辑
摘要: #index.wxml 今天吃啥 饺子 馒头 面条 #index.js data: { "condition":Math.floor(Math.random()*3+1) }, 阅读全文
posted @ 2018-09-18 23:25 破晓e 阅读(154) 评论(0) 推荐(0) 编辑
摘要: #index.js data: { "messg":"helloworld1111", "items":[ {"name":"张三"}, {"name":"李四"}, { "name": "王五"}, { "name": "赵六" }, ] }, #index.wxml {... 阅读全文
posted @ 2018-09-18 23:04 破晓e 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 在js页面的data字典内添加绑定数据 data: { "messg":"helloworld " }, 在wxml页面内使用{{}}调用数据 阅读全文
posted @ 2018-09-18 23:02 破晓e 阅读(123) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页