上一页 1 2 3 4 5 6 7 8 ··· 42 下一页
摘要: 在使用mysql-connector进行数据插入时,出现 'MySQLConverter' object has no attribute '_navigablestring_to_mysql' 具体位置 ins_sql = "INSERT INTO {} (name,radical,stroke_ 阅读全文
posted @ 2022-09-17 01:09 慕尘 阅读(98) 评论(0) 推荐(0)
摘要: Tesseract-OCR已经安装 $ tesseract -v tesseract v5.2.0.20220708 leptonica-1.78.0 libgif 5.1.4 : libjpeg 8d (libjpeg-turbo 1.5.3) : libpng 1.6.34 : libtiff 阅读全文
posted @ 2022-09-16 12:25 慕尘 阅读(1153) 评论(0) 推荐(0)
摘要: 分片下载文件 import os os.makedirs('../data/materials/mp3/', exist_ok=True) File_PATH = '../data/materials/' def chunkDownload(url,dType): import requests r 阅读全文
posted @ 2022-09-16 12:00 慕尘 阅读(271) 评论(0) 推荐(0)
摘要: mysql-connector是一个Python模块 1.安装 python -m pip install mysql-connector 测试是否安装成功 import mysql.connector test数据库结构 2.建立数据库连接 db.py import mysql.connector 阅读全文
posted @ 2022-09-16 11:49 慕尘 阅读(1515) 评论(0) 推荐(0)
摘要: fork:github网站的操作,将开源项目复制一份到自己的仓库中 那fork的项目在原仓库更新后,如何同步呢? 1.查看远程仓库 $ git remote -v origin https://code.xxx.com/beibei/yyy.git (fetch) origin https://co 阅读全文
posted @ 2022-08-06 23:21 慕尘 阅读(1378) 评论(0) 推荐(1)
摘要: 查找文本文件中重复的汉字,找到在所在行号 文本文件格式 大 小 多 少 前 后 左 …… text.py import os import re list = [] same=0 total=0 index = [] with open("1.txt", "r", encoding="utf-8") 阅读全文
posted @ 2022-04-15 16:44 慕尘 阅读(354) 评论(0) 推荐(0)
摘要: 今天使用 idea 出现 Low Memory The IDE is running low on memory and this might affect performance. Please consider increasing available heap. 原因: IDE内存不足 解决方 阅读全文
posted @ 2021-11-30 21:22 慕尘 阅读(5602) 评论(0) 推荐(0)
摘要: XMind是基于Python实现,提供了对XMind思维导图进行创建、解析、更新的一站式解决方案 安装 xmind 模块 pip3 install xmind 示例: 创建文件 xmindTest.py (1)创建空白的xmind import xmind #加载包 # 1、如果指定的XMind文件 阅读全文
posted @ 2021-11-28 16:55 慕尘 阅读(4115) 评论(0) 推荐(0)
摘要: removebg是一个利用AI智能抠图的网站 提供了API 接口,可以直接调用并实现抠图,每月有50张免费 使用前需要去官网 https://www.remove.bg/ 注册并获取API KEY 安装removebg库 pip install removebg 安装pillow pip insta 阅读全文
posted @ 2021-07-12 00:49 慕尘 阅读(7141) 评论(0) 推荐(0)
摘要: PIL——Python Imaging Library是一个非常好用的图像处理库 在Python3中用Pillow代替PIL 安装 pip install pillow eg: 原图 in.jpg 显示图片 from PIL import Image old_image = "D:\\python\ 阅读全文
posted @ 2021-07-11 23:44 慕尘 阅读(341) 评论(0) 推荐(0)
摘要: cutecharts手绘风格图形库 github 地址https://github.com/cutecharts/cutecharts.py 安装 pip install cutecharts 使用 eg: from cutecharts.charts import Line chart = Lin 阅读全文
posted @ 2021-02-07 13:06 慕尘 阅读(382) 评论(0) 推荐(0)
摘要: DataX 是阿里巴巴集团内被广泛使用的离线数据同步工具/平台,实现包括 MySQL、Oracle、SqlServer、Postgre、HDFS、Hive、ADS、HBase、TableStore(OTS)、MaxCompute(ODPS)、DRDS 等各种异构数据源之间高效的数据同步功能 gith 阅读全文
posted @ 2021-02-04 22:25 慕尘 阅读(2049) 评论(0) 推荐(0)
摘要: Talend Open Studio是Talend公司开发的一个数据集成的数据ETL软件 1.下载 https://www.talend.com/products/data-integration-manuals-release-notes/ 我选择的 TOS_DI-20190620_1446-V7 阅读全文
posted @ 2021-02-04 22:16 慕尘 阅读(1660) 评论(0) 推荐(0)
摘要: Locust的使用一 通过命令参数可以配置Locust运行方式 文档 https://docs.locust.io/en/stable/configuration.html#command-line-options Locust的运行模式有: 单进程运行 所有的虚拟并发用户均运行在单个Python进 阅读全文
posted @ 2021-02-03 13:43 慕尘 阅读(1128) 评论(0) 推荐(0)
摘要: Locust 是一个开源负载测试工具,使用 Python 代码定义用户行为 安装 pip install locust 查看是否安装成功 locust -V 测试locustfile.py import time from locust import HttpUser, task, between 阅读全文
posted @ 2021-02-03 12:37 慕尘 阅读(760) 评论(0) 推荐(1)
上一页 1 2 3 4 5 6 7 8 ··· 42 下一页