上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 31 下一页
摘要: 1、使用win32api创建一个监视器窗口,基于坐标0,0 from win32api import GetMonitorInfo from win32api import MonitorFromPoint if __name__ == '__main__': monitor_info = GetM 阅读全文
posted @ 2021-05-11 10:34 南风丶轻语 阅读(1504) 评论(0) 推荐(0)
摘要: 1.文字对齐 anchor='center'(需要配合width和height和relief使用才能看出效果)(默认居中center) 可选值如下 nw n ne w center e sw s se # -*- encoding=utf-8 -*- import tkinter from tkin 阅读全文
posted @ 2021-05-07 17:48 南风丶轻语 阅读(2491) 评论(0) 推荐(1)
摘要: 1.安装cmake指令 参考链接: https://www.cnblogs.com/rainbow-tan/p/14693323.html 2.下载opencv压缩包 链接:https://opencv.org/releases/ 3.解压 unzip opencv-4.5.2.zip 4.进入解压 阅读全文
posted @ 2021-04-23 16:23 南风丶轻语 阅读(1715) 评论(0) 推荐(0)
摘要: 1.padx 表示在x轴方向上的边距 一般用法是padx=10,表示距离左右两边组件的长度都为10 还可以这么用,padx=(20,10),表示距离左边组件长度是20,距离右边组件长度是10 # -*- encoding=utf-8 -*- import tkinter from tkinter i 阅读全文
posted @ 2021-04-23 15:51 南风丶轻语 阅读(1249) 评论(0) 推荐(0)
摘要: 1.下载压缩包 网址:https://cmake.org/download/ 2.解压 tar -zxv -f cmake-3.20.1.tar.gz 3. 进入解压后的目录 cd cmake-3.20.1 4. 执行bootstrap ./bootstrap 5.编译 make 6.安装 make 阅读全文
posted @ 2021-04-23 13:09 南风丶轻语 阅读(4068) 评论(0) 推荐(0)
摘要: Windows机器上配置两个git账号测试机器windows 8.1情景:有两个GitHub路径和账号,分别是:(1)路径:git@hostname.com:aaa/bbb.git 账号:zhangsan(2)路径:git@github.com:rainbow-tan/rainbow.git 账号: 阅读全文
posted @ 2021-04-22 17:21 南风丶轻语 阅读(273) 评论(0) 推荐(0)
摘要: 1、警告提示You appear to be behind a NAT router. Please configure the passive mode settings and forward a range of ports in your router. 遇到问题截图 解决办法 ①点击Edi 阅读全文
posted @ 2021-04-15 15:34 南风丶轻语 阅读(3258) 评论(0) 推荐(0)
摘要: 1、下载 pip install pyinstaller 2、常用参数说明 -F, --onefile 只创建一个可执行文件 -c, --console, --nowindowed 使用控制台(默认使用) -w, --windowed, --noconsole 不使用控制台 -i 指定图标 3、示例 阅读全文
posted @ 2021-04-08 16:39 南风丶轻语 阅读(196) 评论(0) 推荐(0)
摘要: 情景: Word中封面,有下划线,当输入字体时,下划线自动变长,总是需要手动删除和添加下划线以达成对齐的目的。 例如: 因次百度后知道可以通过利用表格,实现下划线,记录一下步骤。大家可以去百度或者抖音查视频看,比文字好理解多了。 一、填写文字内容 二、导成表格 三、表格中文字下降,靠齐最下面的边框 阅读全文
posted @ 2021-04-02 16:19 南风丶轻语 阅读(410) 评论(0) 推荐(0)
摘要: kfaka还没弄明白,暂时留个脚印。 参考链接:https://www.kingname.info/2020/03/23/operate-kafka-by-python/ import time from kafka import KafkaConsumer from kafka import To 阅读全文
posted @ 2021-02-05 11:03 南风丶轻语 阅读(1214) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 31 下一页