随笔分类 -  Python模块

介绍python模块的用法
摘要:模块作用简介: ffprobe计算视频时长 ffmpeg家族子项目 官方 英文 帮助:https://docs.python.org/3/library/ 官方 简体中文 帮助:https://docs.python.org/zh-cn/3/library/ 必要操作: >>> import 安装: 阅读全文
posted @ 2026-03-21 11:13 悟透 阅读(5) 评论(0) 推荐(0)
摘要:模块作用简介: calculate_md5计算文件md5值 官方 英文 帮助:https://docs.python.org/3/library/ 官方 简体中文 帮助:https://docs.python.org/zh-cn/3/library/ 必要操作: >>> import 安装: >>> 阅读全文
posted @ 2026-03-21 11:10 悟透 阅读(8) 评论(0) 推荐(0)
摘要:模块作用简介: 官方 英文 帮助:https://docs.python.org/3/library/ 官方 简体中文 帮助:https://docs.python.org/zh-cn/3/library/ 必要操作: >>> import 安装: >>> pip install 或 下载慢可以用- 阅读全文
posted @ 2026-03-21 11:06 悟透 阅读(6) 评论(0) 推荐(0)
摘要:模块作用简介: xmltodict模块,将xml转成字典格式 官方 英文 帮助:https://docs.python.org/3/library/ 官方 简体中文 帮助:https://docs.python.org/zh-cn/3/library/ 必要操作: >>> import xmltod 阅读全文
posted @ 2026-03-21 11:01 悟透 阅读(4) 评论(0) 推荐(0)
摘要:模块作用简介: subprocess - Subprocesses with accessible I/O streams subprocess—具有可访问I/O流的子流程 官方 英文 帮助:https://docs.python.org/3/library/subprocess.html 官方 简 阅读全文
posted @ 2025-09-08 22:19 悟透 阅读(34) 评论(0) 推荐(0)
摘要:模块作用简介: python中执行js代码 官方 英文 帮助:https://docs.python.org/3/library/ 官方 简体中文 帮助:https://docs.python.org/zh-cn/3/library/ 必要操作: >>> import execjs 安装: >>> 阅读全文
posted @ 2025-09-08 22:12 悟透 阅读(195) 评论(0) 推荐(0)
摘要:模块作用简介: DrissionPage 是一款基于 Python 的全能型网页自动化工具,创新性地将浏览器自动化与直接 HTTP 请求两大模式完美融合。 它不仅具备 Selenium 的动态页面处理能力,还拥有 requests 的高效特性,堪称爬虫开发者的瑞士军刀。 DrissionPage 可 阅读全文
posted @ 2025-09-01 17:35 悟透 阅读(169) 评论(0) 推荐(0)
摘要:模块作用简介: parsel 数据解析模块.Parsel库,由Scrapy团队开发,提供高效HTML/XML解析方案,支持CSS选择器、XPath及正则表达式,实现数据快速抓取。 官方 英文 帮助:https://docs.python.org/3/library/ 官方 简体中文 帮助:https 阅读全文
posted @ 2025-09-01 17:35 悟透 阅读(86) 评论(0) 推荐(0)
摘要:模块作用简介: Cryptodome.Cipher AES加解密模块。 pycryptodome是pycrypto的延伸版本,用法和pycrypto 是一模一样的。crypto在python上面的名字是pycrypto它是一个第三方库,但是大约已经在2018年左右停更了 官方 英文 帮助:https 阅读全文
posted @ 2025-09-01 17:35 悟透 阅读(215) 评论(0) 推荐(0)
摘要:模块作用简介: 官方 英文 帮助:https://docs.python.org/3/library/ 官方 简体中文 帮助:https://docs.python.org/zh-cn/3/library/ 必要操作: >>> from art import text2art 安装: python 阅读全文
posted @ 2025-03-12 17:10 悟透 阅读(67) 评论(0) 推荐(0)
摘要:模块作用简介: pyinstaller 将py文件打包成exe双击可执行二进制文件 官方 英文 帮助:https://docs.python.org/3/library/ 官方 简体中文 帮助:https://docs.python.org/zh-cn/3/library/ 必要操作: >>> im 阅读全文
posted @ 2025-02-03 21:34 悟透 阅读(529) 评论(0) 推荐(0)
摘要:模块作用简介: Python模块之threading thread模块基本被废弃了,现在多用threading模块来创建和管理子线程 有两种方式来创建线程: 第一种是: 用class继承Thread类,并重写它的run()方法; 第二种是: 在实例化threading.Thread对象的时候,将线程 阅读全文
posted @ 2024-12-21 23:28 悟透 阅读(252) 评论(0) 推荐(0)
摘要:模块作用简介: Python模块之thread, 此模块基本废弃,建议使用 threading Python模块之threading: https://www.cnblogs.com/wutou/p/18621520 官方 英文 帮助:https://docs.python.org/3/librar 阅读全文
posted @ 2024-12-21 23:04 悟透 阅读(24) 评论(0) 推荐(0)
摘要:模块作用简介: Python模块之manim (动画模块) 官方 英文 帮助:https://docs.python.org/3/library/ 官方 简体中文 帮助:https://docs.python.org/zh-cn/3/library/ manim 官方:https://docs.ma 阅读全文
posted @ 2024-11-13 11:39 悟透 阅读(242) 评论(0) 推荐(0)
摘要:模块作用简介: Python time strptime() 函数根据指定的格式把一个时间字符串解析为时间元组。 官方 英文 帮助:https://docs.python.org/3/library/ 官方 简体中文 帮助:https://docs.python.org/zh-cn/3/librar 阅读全文
posted @ 2024-07-18 21:56 悟透 阅读(53) 评论(0) 推荐(0)
摘要:Python安装包自带 pip 和 setuptools 默认版本 本站下载链接,只为方便下载测试,不保证完整性,请自行辨别,合理使用。 Python国内镜像下载站,汇总:https://www.cnblogs.com/wutou/p/17709685.html 3.8.10 包名 版本号 日期 官 阅读全文
posted @ 2024-04-15 10:30 悟透 阅读(2034) 评论(0) 推荐(0)
摘要:模块作用简介: Python模块之urllib url编码 官方 简体中文 帮助:https://docs.python.org/zh-cn/3.8/library/urllib.html 官方 英文 帮助:https://docs.python.org/3/library/ 官方 简体中文 帮助: 阅读全文
posted @ 2024-03-02 21:44 悟透 阅读(159) 评论(0) 推荐(0)
摘要:模块作用简介: Python模块之 Crypto 实现加密与解密 官方 英文 帮助:https://docs.python.org/3/library/ 官方 简体中文 帮助:https://docs.python.org/zh-cn/3/library/ 必要操作: >>> import Cryp 阅读全文
posted @ 2024-03-01 12:45 悟透 阅读(996) 评论(0) 推荐(0)
摘要:模块作用简介: warnings 模块由 PEP 230 引入,作为一种警告程序员关于语言或库功能的变化的方法,以预测 Python 3.0 带来的向后不兼容的变化。它还可用于报告从丢失的库中恢复的配置错误或功能退化。不过,最好是通过 logging 模块提供面向用户的消息,因为发送到控制台的警告可 阅读全文
posted @ 2024-02-19 11:38 悟透 阅读(493) 评论(0) 推荐(0)
摘要:模块作用简介: 使用Python中traceback模块来进行处理可以直观异常信息 必要操作: >>> import traceback 安装: python 内置函数,无需安装 导入包: >>> import traceback 帮助查看: >>> help(traceback) 方法(函数): 阅读全文
posted @ 2023-11-06 09:45 悟透 阅读(348) 评论(0) 推荐(0)