使用requests库,urllib库,构建简单爬虫代码。(GET、POST请求) ...
分类:
其他好文 时间:
2020-04-26 19:21:08
阅读次数:
56
有且仅有IE9支持command 标签(定义命令按钮)。 关于datalist: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-wi ...
分类:
Web程序 时间:
2020-04-26 19:12:06
阅读次数:
97
写在前边 之前介绍了什么是序列化和反序列化,顺便演示了一个简单的反序列化漏洞,现在结合实战,开始填坑 前篇:https://www.cnblogs.com/Lee-404/p/12771032.html 1.POP链 POP,面向属性编程(Property-Oriented Programing), ...
分类:
Web程序 时间:
2020-04-26 18:41:28
阅读次数:
107
软解析(soft prase)和硬解析(hard prase)以及 Soft Soft Parse 每个sql会产生两个share cursor 父游标(parent cursor)和子游标(child cursor) ,缓存在库缓存区的对象都是以一种叫库缓存对象句柄(library cache o ...
分类:
数据库 时间:
2020-04-26 17:15:09
阅读次数:
80
Object Code Files, Executable Files, and Libraries The basic strategy in C programming is to use programs that convert your source code file to an exe ...
分类:
其他好文 时间:
2020-04-26 17:04:03
阅读次数:
69
I/O(输入/输出)是所有程序必需的部分: 使用输入机制,程序可读取外部数据(包括磁盘、光盘等)、用户输入数据; 使用输出机制,程序可记录运行状态,将数据输出到光盘、磁盘等设备中。 Python有丰富的I/O支持: 提供了 pathlib 和 os.path 操作各种路径。 提供了 open() 函 ...
分类:
编程语言 时间:
2020-04-26 14:07:44
阅读次数:
202
1.打开 Data Source alt insert 打开 Data Source 找到 db.sqlite3 确定 Download 下载后 TestConnection 测试是否成功 2.项目下的 urls.py 文件 urlpatterns 匹配网页集合 写法 url(正则,views.函数 ...
分类:
其他好文 时间:
2020-04-26 14:04:53
阅读次数:
65
2019政府工作报告.txt https://www.lanzous.com/iby44eh 栗子1: import wordcloud import jieba f=open("2019政府工作报告.txt","r",encoding="utf-8") t=f.read() f.close() l ...
分类:
编程语言 时间:
2020-04-26 13:52:07
阅读次数:
478
js下载图片TOC js下载图片 使用超链接下载图片的时候,会变成预览,使用下面的方法,就可以直接下载图片了 downUrl(url) { // window.open(_this.detail.imgUrl) let xmlhttp = new XMLHttpRequest(); xmlhttp.... ...
分类:
Web程序 时间:
2020-04-26 13:51:33
阅读次数:
69
leetcode 面试题51. 数组中的逆序对 本质上就是归并排序,并在合并区间过程中统计交换的逆序对的数目 归并排序需要开o(n)的辅助空间 class Solution { public: int deal(vector<int>&nums,vector<int>&tmp,int ll,int ...
分类:
编程语言 时间:
2020-04-26 12:34:31
阅读次数:
80