会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
超香Q的五香卤猪脚
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
下一页
2020年9月7日
爬虫(六)多线程爬虫
摘要: 创建多线程类 import threading # 引入多线程模块 import time def run(name): print(name,"线程执行了!") time.sleep(5) # 创建2个线程对象 t1 = threading.Thread(target=run,args=("t1"
阅读全文
posted @ 2020-09-07 09:41 Binzichen
阅读(381)
评论(0)
推荐(0)
2020年8月21日
Linux安装Git、nodejs、jmeter、ptyhon、Mysql、Redis
摘要: 注:基于CentOs安装 http://mirrors.aliyun.com/centos/7/isos/x86_64/ 安装git + 环境依赖部署 linux安装git yum安装 yum install git 配置邮箱和名字 git config --global user.name "yo
阅读全文
posted @ 2020-08-21 07:50 Binzichen
阅读(787)
评论(0)
推荐(0)
2020年8月17日
接口-签名Sign-Python写法
摘要: 接口-签名Sign-Jmeter写法 https://www.cnblogs.com/zibinchen/p/12879710.html 实现目标 /v1/shippingtickets/inbound/departure 发货接口 POST请求 需要进行签名校验 【X-Sign】 Content-
阅读全文
posted @ 2020-08-17 20:20 Binzichen
阅读(762)
评论(1)
推荐(0)
2020年8月11日
爬虫(五)数据清洗-xpath、BeautifulSoup模块
摘要: xpath介绍和lxml安装 xpath表达式 如果正则表达式用的不好,处理html文档很累,有没有其他的方法? 有!就是用xpath,我们可以先将html文件转成xml文档,然后用xpath查找html节点或元素 我们需要安装lxml模块来支持xpath的操作 安装依赖 pip install l
阅读全文
posted @ 2020-08-11 16:09 Binzichen
阅读(828)
评论(0)
推荐(0)
2020年8月10日
爬虫(四)数据清洗-正则表达式
摘要: 正则表达式介绍 正则表达式 即,数据筛选的表达方式(匹配) import re strr = "张三李四王五赵六" pat = "王五" # 正则表达式 rst = re.search(pat,strr) print(rst) 体验-分析《天龙八部》主角到底是谁 import re with ope
阅读全文
posted @ 2020-08-10 18:16 Binzichen
阅读(467)
评论(0)
推荐(0)
2020年8月8日
爬虫(三)requests库数据挖掘
摘要: requests安装和使用 pip install requests 用requests获取百度html代码 import requests url = 'http://www.baidu.com' response = requests.get(url).content.decode() prin
阅读全文
posted @ 2020-08-08 12:56 Binzichen
阅读(302)
评论(0)
推荐(0)
2020年8月4日
爬虫(二)urllib库数据挖掘
摘要: 第一个爬虫 from urllib import request url = r'http://www.baidu.com' # 发送请求,获取 response = request.urlopen(url).read() # 1、打印获取信息 print(response) # 2、打印获取信息的
阅读全文
posted @ 2020-08-04 22:20 Binzichen
阅读(359)
评论(0)
推荐(0)
2020年7月31日
excel操作openpyxl插件
摘要: 安装openpyxl pip install openpyxl 创建一个工作簿 使用openpyxl没有必要先在系统中新建一个.xlsx,我们需要做的只需要引入Workbook这个类,接着开始调用它。 创建 from openpyxl import Workbook # 实例化 wb = Workb
阅读全文
posted @ 2020-07-31 23:05 Binzichen
阅读(337)
评论(0)
推荐(0)
2020年7月28日
爬虫(一)初识爬虫
摘要: 爬虫 获取互联网上的信息 数据挖掘 数据清洗 代码语言 python 大数据时代获取信息途径 企业生产的用户数据:百度指数、阿里指数、TBI、腾讯浏览器指数、新浪微博指数 数据平台购买数据:数据堂、国云数据市场、贵阳大数据交易所 政府/机构公开的数据:中华人民共和国统计局数据、世界银行公开数据、联合
阅读全文
posted @ 2020-07-28 08:46 Binzichen
阅读(1372)
评论(0)
推荐(0)
2020年7月13日
Git更新代码使用方法
摘要: 问题 在使用sourceTree过程中,项目太多的话容易造成使用上的错乱,针对一些不常用的项目可以使用git代码的方式进行合并 Git使用原理:https://www.cnblogs.com/zibinchen/p/13814229.html Git分支管理:https://www.cnblogs.
阅读全文
posted @ 2020-07-13 15:08 Binzichen
阅读(1912)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
下一页
公告