上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
摘要: 主要内容: 同步.异步 https://www.cnblogs.com/weiyi1314/p/6723913.html 阻塞非阻塞 https://www.cnblogs.com/orez88/articles/2513460.html 阅读全文
posted @ 2019-01-10 21:48 ...绿茵 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 主要内容: spider: 写的特别好https://www.cnblogs.com/x-pyue/p/7795315.html 1 多线程数据爬取 import requests from lxml import etree import random import re from multipr 阅读全文
posted @ 2019-01-10 21:41 ...绿茵 阅读(364) 评论(0) 推荐(0) 编辑
摘要: 1 乱码处理: 2 验证码 问题 3 云打码 : 'http://api.yundama.com/api.php' 使用流程: 4 代理: proxies: https://jingyan.baidu.com/article/4f7d5712101fdd1a2119276c.html a : 代理的 阅读全文
posted @ 2019-01-09 18:08 ...绿茵 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 主要内容: 1 爬虫理论: a 爬虫的概念: 编写程序模拟浏览器上网, 然后让其去网上爬取数据的过程 b 爬虫的分类: 通用爬虫: 搜索引擎“抓取系统(爬虫程序)”的重要组成部分。 聚焦爬虫: 根据指定的需求抓取页面中指定的内容。 c 反爬机制:门户网站给通过相关的技术手段或者策略来阻止爬虫进行数据 阅读全文
posted @ 2019-01-07 21:55 ...绿茵 阅读(1144) 评论(0) 推荐(0) 编辑
摘要: 1 二分查找:二分查找从有序列表的候选区data[0:n]开始,通过对半查找的值与候选区中间的值进行比较 方法一:利用for循环, 时间复杂度是o(n) li = [1, 3, 5, 7, 9, 11, 15, 18, 20] def linear_serach(li, value): for i 阅读全文
posted @ 2018-12-26 21:06 ...绿茵 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 主要内容: 1 mongodb的安装:https://www.cnblogs.com/DragonFire/p/9135630.html 2 使用mongodb数据库的增删改查 a : 数据的增加: b : 数据的查询: c : 数据的修改: d : 数据的删除: 3 mongodb中的update 阅读全文
posted @ 2018-12-25 19:48 ...绿茵 阅读(471) 评论(1) 推荐(1) 编辑
摘要: 主要内容: https://www.cnblogs.com/nnngu/p/9347635.html 1 使用websocket实现一个简单的收发机制 前端代码: 2 使用websocket实现群聊 后端代码: from geventwebsocket.handler import WebSocke 阅读全文
posted @ 2018-12-21 15:47 ...绿茵 阅读(627) 评论(0) 推荐(0) 编辑
摘要: 主要内容: 博客drogonfire博客 语音合成: ai.baidu.com.. 查看文档的具体内容. 语音识别: ai.baidu.com.. 查看文档的具体内容. 智能机器人: www.tuling123.com 函数: 阅读全文
posted @ 2018-12-20 19:24 ...绿茵 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 主要内容: 1 线程中的local: from threading import local https://blog.csdn.net/woshiluoye9/article/details/72544764 a : 使用local的原因: 多个请求过来不会冲突 b : 在python中获取Thr 阅读全文
posted @ 2018-12-19 20:43 ...绿茵 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 主要内容:https://blog.csdn.net/techml/article/details/72626519 阅读全文
posted @ 2018-12-19 13:25 ...绿茵 阅读(83) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
1