1:positional argument follows keyword argument 转自:https://blog.csdn.net/weixin_42168614/article/details/88429838 出现这个bug的原因在于参数位置不正确,关键字参数必须跟随在位置参数后面! ...
分类:
其他好文 时间:
2021-02-09 12:09:23
阅读次数:
0
需要注意的几点: 1. 先要修改状态 LODOP.SET_PRINT_MODE("PRINT_SETUP_PROGRAM",true); //一定要加上这句2. 在中间部分添加回调函数,末尾放LODOP.PRINT_DESIGN()或者LODOP.PRINT_SETUP() //打印设计 if(la ...
分类:
其他好文 时间:
2021-02-08 12:32:40
阅读次数:
0
vue-base 项目初始化 vue create vue-base Project setup npm install Compiles and hot-reloads for development npm run serve Compiles and minifies for producti ...
分类:
其他好文 时间:
2021-02-05 10:50:49
阅读次数:
0
zip爆破 Python的优化问题 ? Python在计算密集型任务方面没有明显的多线程优化,多线程更加适合用于处理I/O密集型任务(如网络请求)。爆破任务使用顺序执行即可。 编写Python脚本 ? 一个简单的爆破脚本: import zipfile import traceback import ...
分类:
其他好文 时间:
2021-01-30 11:46:15
阅读次数:
0
.vscode/launch.json设置 关键在于 "program": "${workspaceFolder}/src/qt/bitcoin-qt", 全部内容: { // Use IntelliSense to learn about possible attributes. // Hover ...
分类:
其他好文 时间:
2021-01-27 14:04:54
阅读次数:
0
还是一篇关于pytest的fixture在实际使用场景的分享。 fixture我用来最多的就是写setup跟teardown了,那么现在有一个用例是测试一个列表接口,参数化了不同的状态值传参,来进行测试。 那么对于这个用例的setup跟teardown,我就要在setup里插入不同状态的测试数据,并 ...
分类:
其他好文 时间:
2021-01-27 13:27:56
阅读次数:
0
先看下效果图: 核心代码: 1 class msgWebObj:public QObject{ 2 Q_OBJECT 3 Q_PROPERTY(QString msgLHtmlTmpl MEMBER m_msgLeftTmpl NOTIFY signalMsgHtml)//动态属性,后面网络通道注册 ...
分类:
Web程序 时间:
2021-01-27 12:53:14
阅读次数:
0
git clone过大的仓库时会报以下错误 remote: aborting due to possible repository corruption on the remote side. fatal: protocol error: bad pack header 解决办法是分层clone $ ...
分类:
其他好文 时间:
2021-01-26 12:41:49
阅读次数:
0
client.go:9:2: cannot find module providing package google.golang.org/grpc: working directory is not part of a module 因为开启mod模式了export GO111MODULE=aut ...
分类:
其他好文 时间:
2021-01-26 12:04:45
阅读次数:
0
turtle 1.控制画布画笔属性 ·setup(w,h,x,y) w,h调整画布大小,x,y调整画布位置,不填默认在窗口中间。 ·Penup(empty) 画笔抬起 ·Pendown(empty) 画笔落下 ·Pensize(number) 调整笔画粗细 ·Pencolor() 换色 ·color ...
分类:
其他好文 时间:
2021-01-26 11:59:05
阅读次数:
0