# 图片爬取 import re import urllib import urllib.request def gethtml(url): page=urllib.request.urlopen(url) html=page.read() return html def getimg(html): ...
分类:
编程语言 时间:
2021-03-16 14:08:34
阅读次数:
0
增添数据到数据库 package com.jdbc; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; im ...
分类:
编程语言 时间:
2021-03-16 11:40:11
阅读次数:
0
# coding=utf-8import osn = 0for root, dir, files in os.walk('.'): for name in files: if ("final" not in name): n+=1 print(n,name) os.remove(os.path.jo ...
分类:
其他好文 时间:
2021-03-15 11:04:56
阅读次数:
0
1、将函数存储在模块里 def fun1(x): ## 在模块module1.py中定义三个函数 print(x.upper()) def fun2(x): print(x.title()) def fun3(x): print(" ",x) 2、测试能否直接调用函数 >>> fun1("aaa") ...
分类:
编程语言 时间:
2021-03-15 10:39:46
阅读次数:
0
输出数据集信息,统计缺失变量样本,箱式图判断异常点 一:任务内容: 1.输出数据集的基本信息 2.统计缺失的变量和样本个数 3.通过箱式图判断异常点 二.实现过程及代码 1.输出数据集的基本信息 读取csv: import pandas as pd data=pd.read_csv(r'C:\Use ...
分类:
其他好文 时间:
2021-03-15 10:32:39
阅读次数:
0
java中为什么把Checked Exception翻译成受检的异常? ...
分类:
编程语言 时间:
2021-03-11 20:51:01
阅读次数:
0
使用Scanner对象判断输入的是整数还是小数 package com.simple.scanner; import java.util.Scanner; /** * @author huYuHao * @version 1.0 * @create 2021/3/10 * @since 1.8 */ ...
分类:
其他好文 时间:
2021-03-11 14:48:35
阅读次数:
0
邮件安全中针对发件人伪造/发件人欺骗(sender spoofing)的防护主要有三个手段,SPF,DKIM,以及DMARC。 一、SPF 该工具通过在DNS中设置一条’TXT’记录,来列明来自该域名邮件的所有来源IP地址。收件方在接收来自该域名邮件时,通过比对来源IP地址是否在SPF记录列明的IP ...
分类:
其他好文 时间:
2021-03-10 13:36:40
阅读次数:
0
Redis 安装 安装准备: redis 压缩包 官网下载地址:https://redis.io/download 安装步骤: 第一步:安装 gcc 编译器 官网发布的 Redis 压缩包是 C 语言源码文件,要安装 Redis 需要 gcc 编译器来编译源码 输入安装 gcc 命令,如下: [ro ...
分类:
其他好文 时间:
2021-03-10 13:27:29
阅读次数:
0
public class HttpServerStart { public static volatile boolean flag = false ; public static void start() { int port = 8099; EventLoopGroup bossGroup = ...
分类:
Web程序 时间:
2021-03-10 12:59:52
阅读次数:
0