码迷,mamicode.com
首页 >  
搜索关键字:format failed    ( 20573个结果
两个json字符串的对比
def verify_data(resdata,expdata,ignorkey=[]): logging.info("-" * 100) logging.info("响应数据:{0}".format(resdata)) logging.info("期望数据:{0}".format(expdata) ...
分类:Web程序   时间:2021-06-19 19:37:34    阅读次数:0
hint: Updates were rejected because the tip of your current branch is behind
问题: 1 error: failed to push some refs to 2 hint: Updates were rejected because the tip of your current branch is behind 3 hint: its remote counterpart ...
分类:其他好文   时间:2021-06-19 18:56:51    阅读次数:0
requests基础(一)-requests模拟get请求、post请求
requests安装 pip install requests requests模拟get请求 response.content 是二进制模式,通常需要转换成UTF-8模式,否则会乱码 #requests模拟get请求、 import requests response=requests.get(' ...
分类:其他好文   时间:2021-06-19 18:49:51    阅读次数:0
axios常用拦截器配置
import axios from "axios";//axios引入 import { Message } from "element-ui";//message组件引入 import router from "../router";//路由 // 创建axios实例 const service ...
分类:移动开发   时间:2021-06-19 18:40:48    阅读次数:0
Petalinux fsbl RSA_SUPPORT
petalinux-build -c bootloader petalinux-build -c bootloader -x distclean petalinux-build -c bootloader diff -uNr zynq_fsbl_old zynq_fsbl_new > diff.pa ...
分类:系统相关   时间:2021-06-17 17:02:18    阅读次数:0
移植32位QT程序到ubuntu18.04
1,操作系统变更 某个程序A,是在ubuntu12.04的虚拟机上编译QT4.8的源代码,并将最终的执行程序运行在ubuntu12.04系统上。 由于出货要更换主板,供应商提供的ubuntu操作系统版本确定为18.04。 测试结果表明,原ubuntu12.04的虚拟机上编译的执行程序无法直接运行在u ...
分类:系统相关   时间:2021-06-17 16:26:51    阅读次数:0
django导出文件编码问题
导出文件显示的名称和预想不符,一般是文件名的无法被识别,需要通过单独编码才行 response["Content-Disposition"] = "attachment; filename*=UTF-8''{}".format(escape_uri_path(filename)) filename为 ...
分类:其他好文   时间:2021-06-16 18:23:41    阅读次数:0
VC中BSTR、Char和CString类型的转换
1、char*转换成CString若将char*转换成CString,除了直接赋值外,还可使用CString::format进行。例如:char chArray[] = "This is a test";char * p = "This is a test";或LPSTR p = "This is ...
分类:其他好文   时间:2021-06-16 17:59:58    阅读次数:0
C调用python——PyImport_ImportModule返回空指针
今天调用py文件时 遇到了一点问题,但是不知道问题在哪,所以可以在vs的控制台输出一下py出现的问题 pMod = PyImport_ImportModule("cnn_models_class_old"); if (!pMod) { if (pMod == nullptr) { PyErr_Pri ...
分类:编程语言   时间:2021-06-15 18:35:05    阅读次数:0
python基础5:字符格式化
% %s字符串:%.4s,截取前4位字符 %d数字 %f浮点数:%.2f,表示保留2位小数 format 传递字符串: " {0},{1},{2}" .format(str,str,str) 传递字符串、数字、浮点数负号: "{:s} ,{:d}, {:f}".format(字符串, 数字, 浮点数 ...
分类:编程语言   时间:2021-06-13 10:02:57    阅读次数:0
20573条   上一页 1 2 3 4 5 ... 2058 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!