会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
首页
新随笔
订阅
管理
上一页
1
···
90
91
92
93
94
95
96
97
98
···
337
下一页
2022年1月24日
PyCharm 设置菜单字体大小 代码字体文字大小
摘要: 代码字体,文字大小 设置菜单字体大小 修改工程文件列表的名字的字体大小,以及文件列表的背景颜色,工具栏字体大小,任务栏的字体大小 效果如下:
阅读全文
posted @ 2022-01-24 16:52 emanlee
阅读(320)
评论(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
阅读(4615)
评论(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
阅读(787)
评论(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
阅读(6978)
评论(0)
推荐(2)
调整微信(浏览器)的音量
摘要: 音量合成器,混合器,声音大小 微信浏览器 声音大小 QQ 声音 微信声音
阅读全文
posted @ 2022-01-21 17:09 emanlee
阅读(623)
评论(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
阅读(1225)
评论(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
阅读(637)
评论(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
阅读(774)
评论(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
阅读(1837)
评论(0)
推荐(0)
2022年1月19日
python方法和函数的区别
摘要: from types import MethodType, FunctionType class Foo(object): def __init__(self): self.name = "MyName" def func(self): print(self.name) obj = Foo() pr
阅读全文
posted @ 2022-01-19 22:39 emanlee
阅读(92)
评论(0)
推荐(0)
上一页
1
···
90
91
92
93
94
95
96
97
98
···
337
下一页