#coding:utf-8 #Author:LSA #Description:hishop sqli for /user/UserRefundApply?OrderId= #Date:20190701 import sys import requests from bs4 import Beauti ...
分类:
数据库 时间:
2021-06-05 18:27:44
阅读次数:
0
问题:同一个请求,postman请求与jmeter请求结果返回不一致 原因是:jmeter在http请求中,没有设置内容编码,如下图,添加utf-8即可 ...
分类:
其他好文 时间:
2021-06-04 19:26:04
阅读次数:
0
convertImage.py # 功能 : 将当前工作目录下所有webp格式转为png or jpg # -*- coding: UTF-8 -*- import os from PIL import Image # 返回当前工作目录 CURRENT_PATH = os.getcwd() # 转换 ...
分类:
编程语言 时间:
2021-06-04 19:06:58
阅读次数:
0
import os with open('a.txt','wb') as fp; file = open('a.txt','w',encoding = 'utf-8') # w是覆盖并且重新写入 file.write('Python') # 文件的杜西呃怎么打印出来是个中文字符 # print(fi ...
分类:
其他好文 时间:
2021-06-04 18:48:35
阅读次数:
0
目录 1.中文语料常常遇到编码问题,将任意字符集文件转为utf-8编码 2.将unlabel文件夹中的所有.txt文件合并,每个文件之间空一行 3.随机抽取.txt文件中的60%,20%,5% 4.将已经分好词的文件去掉空格(正则),恢复成文件原来的样子 5.读取excel文件转换成.json文件 ...
分类:
其他好文 时间:
2021-06-04 18:46:36
阅读次数:
0
<head lang="en"> <meta charset="UTF-8"> <title></title> <style> * { padding: 0; margin: 0; } .wrap { width: 300px; margin: 100px auto 0; } table { bor ...
分类:
其他好文 时间:
2021-06-03 18:19:27
阅读次数:
0
1、index.html <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline ...
分类:
Web程序 时间:
2021-06-03 18:18:45
阅读次数:
0
#-*-coding:utf-8-*- # @Time :2021/4/22 7:08 # @Author:shuaichao # @File :.py # @Software: PyCharm from bs4 import BeautifulSoup #网页解析,获悉数据.231 import ...
分类:
其他好文 时间:
2021-06-03 17:56:50
阅读次数:
0
# coding=utf-8 import smtplib from email.mime.text import MIMEText msg_from = 'abcdefghi@qq.com' # 发送方邮箱 passwd = 'abcdefghijklmn' # 填入发送方邮箱的授权码 msg_t ...
分类:
编程语言 时间:
2021-06-03 17:39:06
阅读次数:
0
ascii(只有英文) A : 00000010 8位 一个字节 unicode A : 00000000 00000001 00000010 00000100 32位 四个字节 中:00000000 00000001 00000010 00000110 32位 四个字节 utf-8 A : 001 ...
分类:
其他好文 时间:
2021-06-03 17:37:11
阅读次数:
0