上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 133 下一页
摘要: 1、功能 用一个从value递增的数列给[first, last)的容器赋值 2、实例 #include <iostream> #include <vector> #include <numeric> int main() { std::vector<int> nums(10); for (int 阅读全文
posted @ 2022-05-31 14:51 朱小勇 阅读(1372) 评论(0) 推荐(0)
摘要: 1、安装lxml 注意xml.etree.ElementTree也支持部分xpath,但是非常有限,只有如下: 可以使用lxml模块,这个模块是ElementTree的升级版,但是需要安装,ElementTree是内建不用安装 pip install lxml 2、xpath语法 ①、谓语 路径表达 阅读全文
posted @ 2022-05-30 19:42 朱小勇 阅读(1664) 评论(0) 推荐(0)
摘要: 1、str ret = str(100); 阅读全文
posted @ 2022-05-26 09:41 朱小勇 阅读(160) 评论(0) 推荐(0)
摘要: 1、安装anaconda ①、默认安装,安装后它自己会添加环境变量; ②、设置一个虚拟环境,名字为Python_3.9 conda create -n Python_3.9 python=3.9 注意联网,可以用anaconda安装后自带的cmd执行;环境最终被存放在了D:/Anaconda/env 阅读全文
posted @ 2022-05-25 20:37 朱小勇 阅读(1934) 评论(0) 推荐(0)
摘要: 1、代码 wchar_t *QString2Wchar(QString buf) { return (wchar_t*)reinterpret_cast<const wchar_t *>(buf.utf16()); } QString Wchar2QString(wchar_t *buf) { re 阅读全文
posted @ 2022-05-25 17:49 朱小勇 阅读(503) 评论(0) 推荐(0)
摘要: 1、报错代码 AreaSeries { QtObject { } } 报标题错误 2、解决 AreaSeries { propperty var tt: QtObject { } } 参考:https://forum.qt.io/topic/81135/cannot-assign-to-non-ex 阅读全文
posted @ 2022-05-18 15:29 朱小勇 阅读(655) 评论(0) 推荐(0)
摘要: 1、 echo %Third_Party% 阅读全文
posted @ 2022-05-18 09:54 朱小勇 阅读(101) 评论(0) 推荐(0)
摘要: 1、代码 #ifdef _WIN64 qDebug()<<64; #else qDebug()<<32; #endif 2、注意 _WIN64只有在64位程序上才被定义; _WIN32在64和32位程序上都会被定义 阅读全文
posted @ 2022-05-17 11:18 朱小勇 阅读(454) 评论(0) 推荐(0)
摘要: matlab:https://zhuanlan.zhihu.com/p/34217853 视频:https://www.rohde-schwarz.com.cn/products/test-and-measurement/benchtop-analyzers/rs-fsvr-real-time-sp 阅读全文
posted @ 2022-05-09 17:13 朱小勇 阅读(111) 评论(0) 推荐(0)
摘要: 1、代码 Math.ceil(Math.random()*10); // 获取从 1 到 10 的随机整数,取 0 的概率极小。 搜索 复制 阅读全文
posted @ 2022-04-30 23:30 朱小勇 阅读(60) 评论(0) 推荐(0)
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 133 下一页