上一页 1 ··· 94 95 96 97 98 99 100 101 102 ··· 341 下一页
摘要: ### 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 阅读(798) 评论(0) 推荐(0)
摘要: 问题: 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 阅读(7006) 评论(0) 推荐(2)
摘要: 音量合成器,混合器,声音大小 微信浏览器 声音大小 QQ 声音 微信声音 阅读全文
posted @ 2022-01-21 17:09 emanlee 阅读(630) 评论(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 阅读(1237) 评论(0) 推荐(0)
摘要: REF https://chuna2.787528.xyz/dhcn/p/11077447.html https://blog.csdn.net/apollo_miracle/article/details/106316090 常见的源码保护手段有如下几种: 发行 .pyc 文件 代码混淆 使用 py2 阅读全文
posted @ 2022-01-20 21:48 emanlee 阅读(686) 评论(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 阅读(798) 评论(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 阅读(1901) 评论(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 阅读(96) 评论(0) 推荐(0)
摘要: 转自:https://github.com/jobbole/awesome-python-cn 资源列表 环境管理 管理 Python 版本和环境的工具 p:非常简单的交互式 Python 版本管理工具。 pyenv:简单的 Python 版本管理工具。 Vex:可以在虚拟环境中执行命令。 virt 阅读全文
posted @ 2022-01-19 10:44 emanlee 阅读(462) 评论(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 阅读(804) 评论(0) 推荐(0)
上一页 1 ··· 94 95 96 97 98 99 100 101 102 ··· 341 下一页