上一页 1 ··· 100 101 102 103 104 105 106 107 108 ··· 347 下一页
摘要: 问题: 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 阅读(7089) 评论(0) 推荐(2)
摘要: 音量合成器,混合器,声音大小 微信浏览器 声音大小 QQ 声音 微信声音 阅读全文
posted @ 2022-01-21 17:09 emanlee 阅读(645) 评论(0) 推荐(0)
摘要: 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 阅读(1266) 评论(0) 推荐(0)
摘要: 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 阅读(752) 评论(0) 推荐(0)
摘要: 用法 把 pyinstxtractor.py 和 exe文件 放在同个目录下 python pyinstxtractor.py xx.exe 官网 https://sourceforge.net/projects/pyinstallerextractor/ MIGRATED TO GITHUB ht 阅读全文
posted @ 2022-01-20 21:33 emanlee 阅读(902) 评论(0) 推荐(0)
摘要: 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 阅读(1982) 评论(0) 推荐(0)
摘要: 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 阅读(109) 评论(0) 推荐(0)
摘要: 转自:https://github.com/jobbole/awesome-python-cn 资源列表 环境管理 管理 Python 版本和环境的工具 p:非常简单的交互式 Python 版本管理工具。 pyenv:简单的 Python 版本管理工具。 Vex:可以在虚拟环境中执行命令。 virt 阅读全文
posted @ 2022-01-19 10:44 emanlee 阅读(505) 评论(0) 推荐(0)
摘要: 第一种、Python调用C动态链接库(利用ctypes) 下面示例在linux或unix下可行。 pycall.c 1 2 3 4 5 6 7 8 /***gcc -o libpycall.so -shared -fPIC pycall.c*/ #include <stdio.h> #include 阅读全文
posted @ 2022-01-19 10:29 emanlee 阅读(825) 评论(0) 推荐(0)
摘要: Python 模块 一个py文件就可以看作一个module。 模块(module)是一个包含函数、变量、类等的文件,其后缀名是 .py 。模块可以被别的程序引入(import),以使用该模块中的函数、变量、类等功能。这也是使用 python 标准库的方法。 import 语句 理解 import 的 阅读全文
posted @ 2022-01-18 23:32 emanlee 阅读(566) 评论(0) 推荐(0)
上一页 1 ··· 100 101 102 103 104 105 106 107 108 ··· 347 下一页