会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
首页
新随笔
订阅
管理
上一页
1
···
94
95
96
97
98
99
100
101
102
···
341
下一页
2022年1月25日
PyQt5实现从主窗口打开子窗口的方法
摘要: python点击按钮弹出新窗口(多个窗口的打开与关闭) 本篇博客对应的视频讲解:https://www.bilibili.com/video/BV1NZ4y1Z7ue/ 用 designer.exe 做UI文件(第一个主窗口) mymainwindow.ui <?xml version="1.0"
阅读全文
posted @ 2022-01-25 20:42 emanlee
阅读(8290)
评论(1)
推荐(0)
2022年1月24日
PyCharm 设置菜单字体大小 代码字体文字大小
摘要: 代码字体,文字大小 设置菜单字体大小 修改工程文件列表的名字的字体大小,以及文件列表的背景颜色,工具栏字体大小,任务栏的字体大小 效果如下:
阅读全文
posted @ 2022-01-24 16:52 emanlee
阅读(331)
评论(0)
推荐(0)
2022年1月23日
Python 全局变量 global
摘要: Python 全局变量 局部变量就是定义在一个函数体内部的变量全局变量是定义在外面的变量 a = 1 # 全局变量是定义在函数、类外面的变量 def f(): b = 2 # 局部变量 print(a) # 全局变量 引用全局变量 a = 1 # 全局变量a 是定义在函数、类外面的变量 print(
阅读全文
posted @ 2022-01-23 09:33 emanlee
阅读(4624)
评论(0)
推荐(0)
2022年1月21日
Python FTP 下载文件
摘要: ### ftp登陆连接 ### from ftplib import FTP #加载ftp模块 ftp=FTP() #设置变量 ftp.set_debuglevel(2) #打开调试级别2,显示详细信息 ftp.connect("myIP", port=21) #连接的ftp sever和端口 ft
阅读全文
posted @ 2022-01-21 19:37 emanlee
阅读(802)
评论(0)
推荐(0)
ImportError: ERROR: recursion is detected during loading of "cv2" binary extensions. Check OpenCV installation.
摘要: 问题: pyinstaller 打包后,运行生成的exe报错 “recursion is detected during loading of “cv2“ binary extensions.” Traceback (most recent call last): File "Sy.py", lin
阅读全文
posted @ 2022-01-21 17:57 emanlee
阅读(7025)
评论(0)
推荐(2)
调整微信(浏览器)的音量
摘要: 音量合成器,混合器,声音大小 微信浏览器 声音大小 QQ 声音 微信声音
阅读全文
posted @ 2022-01-21 17:09 emanlee
阅读(632)
评论(0)
推荐(0)
Python 发送邮件 socket.gaierror: [Errno 11004] getaddrinfo failed
摘要: Traceback (most recent call last): File "D:/soft/test.py", line 140, in <module> main_runnow() File "D:/soft/test.py", line 133, in main_runnow sendma
阅读全文
posted @ 2022-01-21 09:50 emanlee
阅读(1244)
评论(0)
推荐(0)
2022年1月20日
如何保护你的 Python 代码
摘要: REF https://www.cnblogs.com/dhcn/p/11077447.html https://blog.csdn.net/apollo_miracle/article/details/106316090 常见的源码保护手段有如下几种: 发行 .pyc 文件 代码混淆 使用 py2
阅读全文
posted @ 2022-01-20 21:48 emanlee
阅读(710)
评论(0)
推荐(0)
PyInstaller Extractor 解包 Pyinstaller打包的EXE
摘要: 用法 把 pyinstxtractor.py 和 exe文件 放在同个目录下 python pyinstxtractor.py xx.exe 官网 https://sourceforge.net/projects/pyinstallerextractor/ MIGRATED TO GITHUB ht
阅读全文
posted @ 2022-01-20 21:33 emanlee
阅读(819)
评论(0)
推荐(0)
PyCharm 中文汉化(中文界面)
摘要: 1 从 PyCharm 官网下载最新版本的 PyCharm (2021.3)。 PyCharm 2021.3 社区版 链接:https://pan.baidu.com/s/1_cP6qb1GJzi1-VRDHQSEyQ 提取码:1234 2 安装PyCharm (2021.3) 默认安装即可。 3
阅读全文
posted @ 2022-01-20 15:23 emanlee
阅读(1928)
评论(0)
推荐(0)
上一页
1
···
94
95
96
97
98
99
100
101
102
···
341
下一页