stdlib brings a Python 3.10-style standard-library surface to AutoHotkey v2.
The public include path is stable:
#Include <stdlib\module>Public APIs are exposed through the root namespace:
result := stdlib.module.func(args*)
value := stdlib.module.Class(args*)| Item | Status |
|---|---|
| AutoHotkey | v2.0.5 or later |
| Behavior authority | Local Python 3.10.11 |
| Tests | stdlib\tests |
| Examples | stdlib\examples |
| Detailed usage | README.en.md |
| Architecture notes | docs\stdlib-architecture.md |
Current work focuses on practical Python-compatible behavior. stdlib.pillow is an independent module and should be included with #Include <stdlib\pillow> when needed.
Current examples cover core helpers, arrays, bytes streams, files and paths, hashing/HMAC, cooperative async, thread workers, Pillow-style images, and tkinter/ttk windows.
stdlib 将 Python 3.10 风格的标准库接口带到 AutoHotkey v2。
公开 include 路径保持稳定:
#Include <stdlib\module>公开 API 通过根命名空间访问:
result := stdlib.module.func(args*)
value := stdlib.module.Class(args*)| 项目 | 当前约定 |
|---|---|
| AutoHotkey | v2.0.5 或更高版本 |
| 行为权威 | 本机 Python 3.10.11 |
| 测试 | stdlib\tests |
| 示例 | stdlib\examples |
| 详细用法 | README.zh-CN.md |
| 架构说明 | docs\stdlib-architecture.md |
当前工作重点是实用的 Python 兼容行为。stdlib.pillow 是独立模块,需要时使用 #Include <stdlib\pillow> 引入。
当前示例覆盖核心 helper、数组、字节流、文件和路径、哈希/HMAC、协作式 async、thread worker、Pillow 风格图像处理,以及 tkinter/ttk 窗口。