码迷,mamicode.com
首页 >  
搜索关键字:utf    ( 33305个结果
mssql-注入脚本
#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
jmeter与postman请求结果返回不一致
问题:同一个请求,postman请求与jmeter请求结果返回不一致 原因是:jmeter在http请求中,没有设置内容编码,如下图,添加utf-8即可 ...
分类:其他好文   时间:2021-06-04 19:26:04    阅读次数:0
20210604# python 将webp格式转为png
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
NLP 文本处理 工具
目录 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
web前端技术分享Electron之IPC游戏 通信
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
Python 使用Stmp服务使用QQ邮箱给某人发送邮件
# 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
33305条   上一页 1 ... 12 13 14 15 16 ... 3331 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!