当前位置:首页 > python

如何把python程序打包成exe?

zhangchap3个月前 (02-01)64
要将 Python 程序打包成可执行的 .exe 文件,可以使用第三方库 pyinstaller。下面是使用 Pyinstaller 将 Python 程序打包成 .exe 文件的步骤:安装 Pyin...

python pymysql转义方法escape_string调用

zhangchap2年前 (2021-12-11)391
python pymysql转义方法escape_string调用
前言:因为pymysql执行sql语句,未转义问题,会被报1064错误:pymysql.err.ProgrammingError: (1064, "You ha...

python requirements.txt 生成及导入

zhangchap2年前 (2021-12-08)182
requirements.txt 生成pip freeze > requirements.txt # C:\Users\jyd>pip&n...

requests超时,重试(Python请求的高级用法)

zhangchap3年前 (2021-05-15)286
import requests from requests.adapters import HTTPAdapter from requests.p...

lxml win 安装方法

zhangchap3年前 (2021-03-07)386
...