#编码流程: #1.验证码的识别,获取验证码图片的文字数据 #2.对post请求进行发送(处理请求函数) #3.对响应函数进行持久化存储 import requests from lxml import etree from CodeClass import YDMHttp #1.对验证码图片进行捕 ...
分类:
其他好文 时间:
2020-07-28 10:08:07
阅读次数:
164
ORM单表操作 类 表类对象 一行数据类属性 字段 增 创建记录方式1 student_obj = models.Student( name='dazhaung', age=23, ) student_obj.save() 创建记录方式2 new_obj = models.Student.objec ...
分类:
其他好文 时间:
2020-07-28 10:01:33
阅读次数:
63
https://drive.google.com/drive/folders/13_vsxSIEU9TDg1TCjYEwOidh0x3dU6es https://www.cse.unsw.edu.au/~cs9313/20T2/slides/L8.pdf Mining Data Streams 1. ...
分类:
其他好文 时间:
2020-07-28 10:00:01
阅读次数:
68
<body> <div id="box"> </body> <script type="text/javascript"> class A { constructor() { this.box = document.getElementById("box"); //获取父节点 this.img = ...
分类:
其他好文 时间:
2020-07-27 23:33:37
阅读次数:
97
加载或者安装R包 stringr,stringr时报错如下 libicui18n.so.64 找不到 加载: library(stringi)Error: package or namespace load failed for ‘stringi’ in dyn.load(file, DLLpath ...
分类:
其他好文 时间:
2020-07-27 09:39:17
阅读次数:
150
执行ipconfig /all获取主机所有网卡信息并分析这些字符串,提取出有效网卡(网卡名称,mac地址,ipv4地址,掩码,网关,dns)将网卡插入HashMap中,key是网卡的名称,value是网卡对象(包含mac和4个逻辑地址)请输入网卡的名称,程序通过map的get方法取出此名称对应的网卡 ...
分类:
编程语言 时间:
2020-07-27 09:23:51
阅读次数:
118
主要针对 SpringBoot 应用的 json 支持进行简单介绍 ...
分类:
编程语言 时间:
2020-07-26 19:31:14
阅读次数:
66
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)E: Unable to lock the administration directory (/var/lib/dpkg/), are you ...
分类:
系统相关 时间:
2020-07-26 15:56:12
阅读次数:
98
恢复内容开始 迭代器 实际就是调用next方法 使被处理对象通过__iter__在内部建立一个对应的next方法 f=open("text.txt","r+")iter_f=f.__iter__()print(iter_f.__next__(),end="")print(iter_f.__next_ ...
分类:
其他好文 时间:
2020-07-26 15:50:01
阅读次数:
58
一、multiprocessing模块介绍 python中的多线程无法利用多核优势,如果想要充分地使用多核CPU的资源(os.cpu\_count\(\)查看),在python中大部分情况需要使用多进程。Python提供了multiprocessing。 multiprocessing模块用来开启子 ...
分类:
系统相关 时间:
2020-07-26 15:09:05
阅读次数:
97