语言版本:python 3.6.7 包版本flask_jwt_extended:3.14.0 我的描述:当我使用flask中flask_jwt_extended进行生成token时!我使用pycharm进行本地调试时,,成功地生成了token,而当我将代码更新到线上服务器(linux)时,运行它出现 ...
分类:
数据库 时间:
2021-02-24 13:00:07
阅读次数:
0
1,sudo apt update 2,sudo apt install ffmpeg 3,安装成功后查看【版本】【编码器】【解码器】 ffmpeg -v ffmpeg -encoders ffmpeg -decoders 4,安装需要用的各种组件 sudo apt-get install liba ...
分类:
系统相关 时间:
2021-02-23 13:58:57
阅读次数:
0
Problem Description Bruce Force has had an interesting idea how to encode strings. The following is the description of how the encoding is done:Let x1 ...
分类:
其他好文 时间:
2021-02-19 13:18:41
阅读次数:
0
多进程server端实现: import socket from multiprocessing import Process def func(conn): ''' 没调用一次func创建一个新进程 :param conn: :return: ''' try: #持续对话 while 1: dat ...
分类:
系统相关 时间:
2021-02-04 11:43:52
阅读次数:
0
使用CURL模拟访问网页,保留返回的COOKIE <?php class dnspod { public static function api_call($api, $data) { $api = 'https://dnsapi.cn/' . $api; echo $api . PHP_EOL; ...
分类:
Web程序 时间:
2021-01-30 11:45:04
阅读次数:
0
import requestsimport refrom lxml import etree# source = requests.get('http://www.paoshu8.com/0_984/746463.html').content.decode('utf8')# #print(sourc ...
分类:
编程语言 时间:
2021-01-21 10:48:04
阅读次数:
0
There are many ways to load text data file into the database. In general, we would use applications that database service providers' product. For exam ...
分类:
其他好文 时间:
2021-01-05 10:36:37
阅读次数:
0
最近工作中用到了apktool解包修改xml文件,当时找了一下发现之前并没有记录文档,用法有点忘了又到网上查了一遍,这里记录一下,以后也方便查吧。 apktool-打包解包工具 用于查看apk中的资源和修改一些配置文件 下载网址:https://ibotpeaches.github.io/Apkto ...
分类:
其他好文 时间:
2021-01-01 12:03:27
阅读次数:
0
urllib.request 返回的数据需要解码,如 网站返回的是GBK编码数据. 需要调用decode("gbk") 此时输出不会乱码. with urllib.request.urlopen(url, context=context) as response: html = response.r ...
分类:
其他好文 时间:
2020-12-31 11:55:54
阅读次数:
0
1、编码(encode) 字符串转字节串叫编码 str > bytes b = s.encode(encoding='utf-8') 2、解码(decode) 字节串转字符串叫解码 bytes > str s = b.decode(encoding='utf-8') ...
分类:
编程语言 时间:
2020-12-29 11:33:02
阅读次数:
0