搜索结果
-
第一个python图形软件!
去年底,公司项目需要用到挂机脚本。用于自动给客户发送朋友圈。想来想去还是学习用python吧,毕竟现在大家追捧最高的就是python! 翻阅了文档和百度谷哥。差不多一周写出来了,外加图形界面。图
-
python pyinstaller 打包命令
### 如何打包 在python项目文件夹,按住键盘 `Shift` + `右键`,打开命令窗口执行 #### 单exe 含doc窗口 `pyinstaller -F SendPyq
-
python获取当日时间,时间格式转时间戳
```python # 获取date时间格式 times = time.strftime("%Y-%m-%d 00:00:00", time.localtime()) # 转为时间数组 tim
-
python requests 报错requests.exceptions.SSLError: HTTPSConnectionPool
原代码: ```python r = requests.get(url) ``` 为 `requests` 添加 `verify` 参数 ```python r = reque
-
python pymysql批量插入数据
```python # 批量插入数据 def addinsertall(val): db = sql.init() cur = db.cursor()
-
python requests.get 发生意外导致脚本终止
son.loads`时发生了错误。因此需要对数据进行判断过滤 **业务代码:** ```python url = 'http://xx.xx/api' r = requests.get
-
python scheduler 下次调用自己 定时执行修改job参数
到任务。 只有非date类型时,才可以修改参数 当前时间10秒后开始任务: ```python job = scheduler.add_job(func, 'cron', id=j
-
python The list of positional arguments is longer than the target callable can handle (allowed: 0, given in args: 1)
### python报错内容: `The list of positional arguments is longer than the target callable can handle (
-
python 报错:Accessing time t=5.03-5.07 seconds, with clip duration=5 seconds,
使用python的moviepy拼接视频时,报错: `Accessing time t=5.03-5.07 seconds, with clip duration=5 seconds,`
-
批量数字递增重命名exe工具
始数字递增或跳跃递增 * 指定后缀 工具是写来自己用的,网上找了很多没有符合的,自己写了个。python写的黑框,没有加ui。就发在这里。有需要的可以拿去使用 # 运行截图 ![i
-
python 遍历对象 获取键值对
```python data = { 'action': 'list', 'type': '9', 'lang': 'zh_CN', 'f': 'json',
-
face_alignment报错AttributeError: _2D face_alignment.LandmarksType._2D
训练时报错AttributeError: _2D; ```python fa = face_alignment.FaceAlignment(face_alignment.LandmarksTy
-
huggingface.co无法链接时 可以使用hf-mirror.com
ingface 提供的包会获取系统变量,所以可以使用通过设置变量来解决。 用法: ```python `HF_ENDPOINT
-
python PyInstaller 'NoneType' object has no attribute 'write'
python 打包后报错: ```python 'NoneType' object has no attribute 'write' ``` 解决: ```python i
-
vscode python 忽略系统代理
`$env:NO_PRO