当前位置: 首页
AI教程
Python解析llms.txt一键生成大语言模型上下文XML详细教程

Python解析llms.txt一键生成大语言模型上下文XML详细教程

时间:2026-06-17
转载

最近在研究 LLM 上下文工程(Context Engineering)时,发现一个特别实用的工具——`llms-txt`。它的职责非常纯粹:将项目里的 `llms txt` 文件转换成大型语言模型能够直接理解的 XML 上下文文档。 做 AI Agent、RAG、Claude 项目或 Prompt

最近在研究 LLM 上下文工程(Context Engineering)时,发现一个特别实用的工具——`llms-txt`。它的职责非常纯粹:将项目里的 `llms.txt` 文件转换成大型语言模型能够直接理解的 XML 上下文文档。 做 AI Agent、RAG、Claude 项目或 Prompt 工程的同学,应该都遇到过这样的需求:如何把项目文档自动整理成模型可读的结构化信息?这个工具正是为此而生。 下面从概念到操作,完整梳理它的用法和原理。 ## Python 解析 llms.txt 的教程:一键生成 LLM 上下文 XML ![在这里插入图片描述](http://img.318050.com/uploads/20260616/17815955646a30fdac4b9b0582344030.webp)
### 前言 `llms-txt` 的核心价值一句话就能说清楚:**将 Markdown 格式的项目描述,转化为 LLM 可以直接使用的结构化上下文**。 它主要完成三件事: - 解析 `llms.txt` 的区块结构 - 提取标题、摘要、文档链接、示例链接等信息 - 输出一个整洁的 XML 文档,直接喂给 Claude、GPT 等模型作为背景知识 接下来完整介绍:CLI 如何使用、Python API 如何调用、核心解析原理(附 20 行实现),以及适合在哪些场景落地。
### 一、什么是 llms.txt 简单来说,它是一种用 Markdown 描述项目的方式——把文档、示例、知识链接按照固定结构组织起来。 下面是一个典型示例: ```ja vascript # FastHTML > FastHTML is a python library which... When writing FastHTML apps remember to: - Thing to remember ## Docs - [Surreal](https://host/README.md): Tiny jQuery alternative - [FastHTML quick start](https://host/quickstart.html.md) ## Examples - [Todo app](https://host/adv_app.py) ## Optional - [Starlette docs](https://host/starlette-sml.md) ``` 核心区块只有四个: | 区块 | 含义 | |------|------| | Title | 项目名称 | | Summary | 项目简介(`>` 引用的文字) | | Info | 额外说明(标题和摘要之后、第一个 `##` 之前的内容) | | Sections | 文档、示例、可选等分类链接,每类下放一个列表 |
### 二、安装 llms-txt ```ja vascript pip install llms-txt ``` 安装完成后,命令行就会多出 `llms_txt2ctx` 命令。 ```ja vascript llms_txt2ctx ```
### 三、CLI 使用教程 查看帮助: ```ja vascript llms_txt2ctx -h ``` 将 `llms.txt` 转换为 XML 上下文(默认不包含 Optional 区块): ```ja vascript llms_txt2ctx llms.txt > llms.md ``` 如果需要包含 Optional 区块: ```ja vascript llms_txt2ctx llms.txt --optional True > llms.md ``` 生成的内容可以直接交给 Claude 或 GPT,无需额外处理。
### 四、Python API 使用 除了命令行,它还提供 Python 模块,适合在项目中实现自动化。 #### 导入模块 ```ja vascript from llms_txt import * from pathlib import Path ``` 读取 `llms.txt`: ```ja vascript samp = Path('llms-sample.txt').read_text() ```
#### 1️⃣ 解析 llms.txt ```ja vascript parsed = parse_llms_file(samp) ``` 解析后,得到的 `parsed` 是一个命名元组,包含四个字段: ```ja vascript list(parsed) # ['title', 'summary', 'info', 'sections'] ``` 查看标题和摘要: ```ja vascript parsed.title, parsed.summary # ('FastHTML', 'FastHTML is a python library...') ``` 查看所有 section 名称: ```ja vascript list(parsed.sections) # ['Docs', 'Examples', 'Optional'] ``` 查看某条链接的具体内容: ```ja vascript parsed.sections.Optional[0] # {"desc": "A subset of the Starlette documentation useful...", # "title": "Starlette full documentation", # "url": "https://..."} ```
#### 2️⃣ 生成 LLM XML 上下文 最关键的一步——把解析结果转成 XML 文档: ```ja vascript ctx = create_ctx(samp) print(ctx[:300]) ``` 输出的内容类似: ```ja vascript Remember: - Use serve() for running uvicorn... ``` 这一步就是 CLI 背后实际执行的逻辑。
### 五、核心实现原理(重点) 官方给出了一个**无依赖、20 行的解析器**,非常值得学习。 #### 完整解析器 ```ja vascript from pathlib import Path import re, itertools def chunked(it, chunk_sz): it = iter(it) return iter(lambda: list(itertools.islice(it, chunk_sz)), []) def parse_llms_txt(txt): "Parse llms.txt file contents in `txt` to a `dict`" def _p(links): link_pat = r'- \[(?P[^\]]+)\]\((?P<url>[^)]+)\)(?::\s*(?P<desc>.*))?' return [re.search(link_pat, l).groupdict() for l in re.split(r'\n', links.strip()) if l.strip()] start, *rest = re.split(r'^##\s*(.*?$)', txt, flags=re.MULTILINE) sects = {k: _p(v) for k,v in dict(chunked(rest, 2)).items()} pat = r'^#\s*(?P<title>.+?$)\s*(?:^>\s*(?P<summary>.+?$)\s*$)?\s*(?P<info>.*)' d = re.search(pat, start.strip(), (re.MULTILINE|re.DOTALL)).groupdict() d['sections'] = sects return d ``` ##### 关键技术点 | 技术 | 用途 | |------|------| | 正则分块解析 | 按 `##` 切分 Markdown 区块 | | `groupdict()` | 直接生成结构化字典 | | `itertools.islice` | 两两分组 section 名和链接列表 | | 无第三方依赖 | 轻量级,可嵌入任何 Python 项目 | 这是一个非常典型的**结构化文本解析器**——用正则拆结构,用迭代器分块,最后用命名分组提取字段。整段代码没有外部依赖,复制出去即可直接使用。 <hr/> ### 六、适用场景 这个工具在以下几个场景中尤其顺手: #### AI Agent 项目 自动将项目文档整理成 Claude / GPT 可理解的上下文,省去手工拼接 Prompt 的麻烦。 #### RAG 系统 把知识库统一转为 XML 格式,方便批量更新和索引。 #### 开源项目 为项目提供一个“AI Readme”,告诉模型从哪读文档、看哪些示例,大幅提升代码理解效率。 <hr/> ### 七、总结 `llms-txt` 堪称 **LLM 时代的 README 生成器**。它的核心价值: - 把 Markdown 文档 → LLM 可读的 XML - 提供 CLI 和 Python API 两种使用方式 - 可嵌入 AI Agent、RAG、自动文档系统 - 核心实现极为轻量(20 行即可实现) 如果你的工作涉及 AI 相关项目,这个工具值得加入你的工具链。 </div> <div class="index3_article_class" style="display:none;"> <a href="">苹果</a> </div> <div class="index3_article_other"> <div> <span>上一篇:</span> <a href="https://www.youleyou.com/wenzhang/3039512.html" title="Trae AI编程模型选择指南与实战教程">Trae AI编程模型选择指南与实战教程</a> </div> <div> <span>下一篇:</span> <a href="https://www.youleyou.com/wenzhang/3039514.html" title="TensorFlow模型部署全流程完整解析">TensorFlow模型部署全流程完整解析</a> </div> </div> <div class="index3_article_Disclaimers"> <img src="/style/style2026/images/index3_article_Disclaimers.png" alt="" /> <p> 游乐网为非赢利性网站,所展示的游戏/软件/文章内容均来自于互联网或第三方用户上传分享,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系youleyoucom@outlook.com。 </p> </div> <div class="index3_article_push1"> <div class="index3_title"> <div class="index3_title1"> <img src="/style/style2026/images/index3_article1R_title1.png" alt="" /> <span>同类文章</span> </div> <a href="/wzlist/aitutorials" class="index3title_more"> 更多 <div class="icon_f"> <svg class="icon" aria-hidden="true"> <use xlink:href="#icon-xiangyou1"></use> </svg> <svg class="icon iconhover" aria-hidden="true"> <use xlink:href="#icon-xiangyou1-copy1"></use> </svg> </div> </a> </div> <div class="index3_article_push1M"> <div class="index3_article1Ls"> <a href="https://www.youleyou.com/wenzhang/3309587.html" title="CAD零基础入门教程:坐标输入、图层管理与基础绘图命令"> <img onerror="this.onerror=''; this.src='/style/style2022/images/moren/355_225.png'" src="https://static.youleyou.com//uploadfile/2026/0901/3fd18b7f9139cbbe0213055e934259de.webp" alt="CAD零基础入门教程:坐标输入、图层管理与基础绘图命令" /> </a> <div> <a href="https://www.youleyou.com/wenzhang/3309587.html" title="CAD零基础入门教程:坐标输入、图层管理与基础绘图命令"><h2>CAD零基础入门教程:坐标输入、图层管理与基础绘图命令</h2></a> <p>本文面向CAD零基础学习者,系统讲解坐标输入、图层管理与基础绘图命令的核心用法。通过分步实操与常见问题排查,帮助新手建立精确绘图习惯,掌握规范出图的基础能力。</p> <div class="index3_article1Ls_info"> <span>时间:2026-09-01 16:53</span> <div style="display:none;"> <a href="#">苹果</a> </div> </div> </div> </div> <div class="index3_article1Ls"> <a href="https://www.youleyou.com/wenzhang/3309586.html" title="CAD从入门到项目交付:绘图、标注、图块与实战工作流"> <img onerror="this.onerror=''; this.src='/style/style2022/images/moren/355_225.png'" src="https://static.youleyou.com//uploadfile/2026/0901/83a187c2f6940a3152860d95357b8e4f.webp" alt="CAD从入门到项目交付:绘图、标注、图块与实战工作流" /> </a> <div> <a href="https://www.youleyou.com/wenzhang/3309586.html" title="CAD从入门到项目交付:绘图、标注、图块与实战工作流"><h2>CAD从入门到项目交付:绘图、标注、图块与实战工作流</h2></a> <p>掌握CAD的核心在于建立“画得准、标得清、复用快、交付稳”的工作流。本文提供从环境设置、高频命令组合、标注规范、图块标准化到项目分阶段交付的完整路径,帮助初学者避免常见返工陷阱,独立完成可检查、可复用、可打印的工程图纸。</p> <div class="index3_article1Ls_info"> <span>时间:2026-09-01 16:52</span> <div style="display:none;"> <a href="#">苹果</a> </div> </div> </div> </div> <div class="index3_article1Ls"> <a href="https://www.youleyou.com/wenzhang/3309576.html" title="Claude Code 登录指南:个人、Teams 与企业账号区分与授权步骤"> <img onerror="this.onerror=''; this.src='/style/style2022/images/moren/355_225.png'" src="https://static.youleyou.com//uploadfile/2026/0901/5288a9362c86a3352c7e767ad8d82715.webp" alt="Claude Code 登录指南:个人、Teams 与企业账号区分与授权步骤" /> </a> <div> <a href="https://www.youleyou.com/wenzhang/3309576.html" title="Claude Code 登录指南:个人、Teams 与企业账号区分与授权步骤"><h2>Claude Code 登录指南:个人、Teams 与企业账号区分与授权步骤</h2></a> <p>本文详细解析 Claude Code 登录前的账号类型区分方法,涵盖个人订阅、Teams 席位与企业 Enterprise 席位的授权路径差异。提供终端登录命令、环境变量排查及常见异常处理步骤,帮助用户快速完成正确授权并避免登录路径混淆。</p> <div class="index3_article1Ls_info"> <span>时间:2026-09-01 14:27</span> <div style="display:none;"> <a href="#">苹果</a> </div> </div> </div> </div> <div class="index3_article1Ls"> <a href="https://www.youleyou.com/wenzhang/3309568.html" title="Claude Code 文件修改前的权限模式配置与命令审批指南"> <img onerror="this.onerror=''; this.src='/style/style2022/images/moren/355_225.png'" src="https://static.youleyou.com//uploadfile/2026/0901/b519395aec592a86ba5c0528f344f171.webp" alt="Claude Code 文件修改前的权限模式配置与命令审批指南" /> </a> <div> <a href="https://www.youleyou.com/wenzhang/3309568.html" title="Claude Code 文件修改前的权限模式配置与命令审批指南"><h2>Claude Code 文件修改前的权限模式配置与命令审批指南</h2></a> <p>本文详细介绍Claude Code在修改文件前的权限模式配置方法,包括defaultMode可选值、permissions allow与deny规则设置、多层级配置文件管理以及 status验证技巧,帮助开发者安全高效地使用AI编程助手。</p> <div class="index3_article1Ls_info"> <span>时间:2026-09-01 14:12</span> <div style="display:none;"> <a href="#">苹果</a> </div> </div> </div> </div> <div class="index3_article1Ls"> <a href="https://www.youleyou.com/wenzhang/3309567.html" title="Claude Code接入VS Code后先测扩展和终端命令"> <img onerror="this.onerror=''; this.src='/style/style2022/images/moren/355_225.png'" src="https://static.youleyou.com//uploadfile/2026/0901/8a3b363dece1328931f39c45e67c1ddd.webp" alt="Claude Code接入VS Code后先测扩展和终端命令" /> </a> <div> <a href="https://www.youleyou.com/wenzhang/3309567.html" title="Claude Code接入VS Code后先测扩展和终端命令"><h2>Claude Code接入VS Code后先测扩展和终端命令</h2></a> <p>在VS Code中接入Claude Code后,建议优先验证扩展面板与集成终端两条入口。本文提供标准检查顺序、关键命令与常见故障排查路径,帮助你快速确认环境就绪,避免后续开发受阻。</p> <div class="index3_article1Ls_info"> <span>时间:2026-09-01 14:10</span> <div style="display:none;"> <a href="#">苹果</a> </div> </div> </div> </div> </div> </div> <div class="index3_article_push2"> <div class="index3_title"> <div class="index3_title1"> <img src="/style/style2026/images/index3_article1R_title1.png" alt="" /> <span>热门专题</span> </div> <a href="/zt.html" class="index3title_more"> 更多 <div class="icon_f"> <svg class="icon" aria-hidden="true"> <use xlink:href="#icon-xiangyou1"></use> </svg> <svg class="icon iconhover" aria-hidden="true"> <use xlink:href="#icon-xiangyou1-copy1"></use> </svg> </div> </a> </div> <div class="index3_article_push2M"> <div class="index3_article_push2Ms"> <a href="/zt/11618" title="刀塔传奇破解版无限钻石下载大全" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com//uploadfile/2021/0428/20210428011753491.webp" alt="刀塔传奇破解版无限钻石下载大全" /> </a> <a href="/zt/11618" title="刀塔传奇破解版无限钻石下载大全" >刀塔传奇破解版无限钻石下载大全</a> </div> <div class="index3_article_push2Ms"> <a href="/zt/7752" title="洛克王国正式正版手游下载安装大全" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com//uploadfile/2021/0813/20210813035629318.webp" alt="洛克王国正式正版手游下载安装大全" /> </a> <a href="/zt/7752" title="洛克王国正式正版手游下载安装大全" >洛克王国正式正版手游下载安装大全</a> </div> <div class="index3_article_push2Ms"> <a href="/zt/124687" title="思美人手游下载专区" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com//uploadfile/2019/0911/20190911043836551.jpg" alt="思美人手游下载专区" /> </a> <a href="/zt/124687" title="思美人手游下载专区" >思美人手游下载专区</a> </div> <div class="index3_article_push2Ms"> <a href="/zt/138087" title="好玩的阿拉德之怒游戏下载合集" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com//uploadfile/2019/0308/20190308044923889.jpg" alt="好玩的阿拉德之怒游戏下载合集" /> </a> <a href="/zt/138087" title="好玩的阿拉德之怒游戏下载合集" >好玩的阿拉德之怒游戏下载合集</a> </div> <div class="index3_article_push2Ms"> <a href="/zt/42155" title="不思议迷宫手游下载合集" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com//uploadfile/2019/1008/20191008083221457.jpg" alt="不思议迷宫手游下载合集" /> </a> <a href="/zt/42155" title="不思议迷宫手游下载合集" >不思议迷宫手游下载合集</a> </div> <div class="index3_article_push2Ms"> <a href="/zt/1675412" title="百宝袋汉化组游戏最新合集" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com//uploadfile/2021/0201/20210201032247458.webp" alt="百宝袋汉化组游戏最新合集" /> </a> <a href="/zt/1675412" title="百宝袋汉化组游戏最新合集" >百宝袋汉化组游戏最新合集</a> </div> <div class="index3_article_push2Ms"> <a href="/zt/1675543" title="jsk游戏合集30款游戏大全" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com//uploadfile/2021/0201/20210201032248745.webp" alt="jsk游戏合集30款游戏大全" /> </a> <a href="/zt/1675543" title="jsk游戏合集30款游戏大全" >jsk游戏合集30款游戏大全</a> </div> <div class="index3_article_push2Ms"> <a href="/zt/115942" title="宾果消消消原版下载大全" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com//uploadfile/2021/0428/20210428095718406.webp" alt="宾果消消消原版下载大全" /> </a> <a href="/zt/115942" title="宾果消消消原版下载大全" >宾果消消消原版下载大全</a> </div> </div> </div> </div> <div class="index3_article1R"> <div class="index3_articleR1"> <div class="layui-tab layui-tab-brief"> <ul class="layui-tab-title"> <li class="layui-this">热门数据榜</li> </ul> <div class="layui-tab-content"> <div class="layui-tab-item layui-show"> <div class="index3_articleR1M"> </div> </div> <div class="layui-tab-item"> <div class="index3_articleR1M"> <a href="https://www.youleyou.com/wenzhang/3309859.html" title="35岁转行网络安全:从经验复用到实战落地的可行性评估"> <div> <img src="/style/style2026/images/index3main8_no11.png" alt="" /> <span>1</span> </div> <span>35岁转行网络安全:从经验复用到实战落地的可行性评估</span> </a> <a href="https://www.youleyou.com/wenzhang/3309858.html" title="网络安全行业前景分析:技术演进与市场机遇"> <div> <img src="/style/style2026/images/index3main8_no22.png" alt="" /> <span>2</span> </div> <span>网络安全行业前景分析:技术演进与市场机遇</span> </a> <a href="https://www.youleyou.com/wenzhang/3309857.html" title="2026网络安全求职全景:从岗位拆解到实战作品集构建"> <div> <img src="/style/style2026/images/index3main8_no33.png" alt="" /> <span>3</span> </div> <span>2026网络安全求职全景:从岗位拆解到实战作品集构建</span> </a> <a href="https://www.youleyou.com/wenzhang/3309856.html" title="2024安全攻防实战:从勒索软件到AI治理的破局与重构"> <div> <img src="/style/style2026/images/index3main8_no44.png" alt="" /> <span>4</span> </div> <span>2024安全攻防实战:从勒索软件到AI治理的破局与重构</span> </a> <a href="https://www.youleyou.com/wenzhang/3309855.html" title="网站编程AI工具测评:提升开发效率的辅助软件推荐"> <div> <img src="/style/style2026/images/index3main8_no44.png" alt="" /> <span>5</span> </div> <span>网站编程AI工具测评:提升开发效率的辅助软件推荐</span> </a> <a href="https://www.youleyou.com/wenzhang/3309854.html" title="JS高级程序设计:闭包、原型链与异步编程实战"> <div> <img src="/style/style2026/images/index3main8_no44.png" alt="" /> <span>6</span> </div> <span>JS高级程序设计:闭包、原型链与异步编程实战</span> </a> <a href="https://www.youleyou.com/wenzhang/3309853.html" title="网页编程软件推荐:适合新手的开发工具对比"> <div> <img src="/style/style2026/images/index3main8_no44.png" alt="" /> <span>7</span> </div> <span>网页编程软件推荐:适合新手的开发工具对比</span> </a> <a href="https://www.youleyou.com/wenzhang/3309852.html" title="Python核心编程第二版与第三版:别把“基础”当“进阶”,选错书等于白读"> <div> <img src="/style/style2026/images/index3main8_no44.png" alt="" /> <span>8</span> </div> <span>Python核心编程第二版与第三版:别把“基础”当“进阶”,选错书等于白读</span> </a> <a href="https://www.youleyou.com/wenzhang/3309851.html" title="JavaScript 高级编程第5版核心知识点与目录解析"> <div> <img src="/style/style2026/images/index3main8_no44.png" alt="" /> <span>9</span> </div> <span>JavaScript 高级编程第5版核心知识点与目录解析</span> </a> <a href="https://www.youleyou.com/wenzhang/3309850.html" title="Python核心编程第二版:经典语法回顾与常见排错技巧"> <div> <img src="/style/style2026/images/index3main8_no44.png" alt="" /> <span>10</span> </div> <span>Python核心编程第二版:经典语法回顾与常见排错技巧</span> </a> </div> </div> <div class="layui-tab-item"> <div class="index3_articleR1M"> <a href="https://www.youleyou.com/wenzhang/3309859.html" title="35岁转行网络安全:从经验复用到实战落地的可行性评估"> <div> <img src="/style/style2026/images/index3main8_no11.png" alt="" /> <span>1</span> </div> <span>35岁转行网络安全:从经验复用到实战落地的可行性评估</span> </a> <a href="https://www.youleyou.com/wenzhang/3309858.html" title="网络安全行业前景分析:技术演进与市场机遇"> <div> <img src="/style/style2026/images/index3main8_no22.png" alt="" /> <span>2</span> </div> <span>网络安全行业前景分析:技术演进与市场机遇</span> </a> <a href="https://www.youleyou.com/wenzhang/3309857.html" title="2026网络安全求职全景:从岗位拆解到实战作品集构建"> <div> <img src="/style/style2026/images/index3main8_no33.png" alt="" /> <span>3</span> </div> <span>2026网络安全求职全景:从岗位拆解到实战作品集构建</span> </a> <a href="https://www.youleyou.com/wenzhang/3309856.html" title="2024安全攻防实战:从勒索软件到AI治理的破局与重构"> <div> <img src="/style/style2026/images/index3main8_no44.png" alt="" /> <span>4</span> </div> <span>2024安全攻防实战:从勒索软件到AI治理的破局与重构</span> </a> <a href="https://www.youleyou.com/wenzhang/3309855.html" title="网站编程AI工具测评:提升开发效率的辅助软件推荐"> <div> <img src="/style/style2026/images/index3main8_no44.png" alt="" /> <span>5</span> </div> <span>网站编程AI工具测评:提升开发效率的辅助软件推荐</span> </a> <a href="https://www.youleyou.com/wenzhang/3309854.html" title="JS高级程序设计:闭包、原型链与异步编程实战"> <div> <img src="/style/style2026/images/index3main8_no44.png" alt="" /> <span>6</span> </div> <span>JS高级程序设计:闭包、原型链与异步编程实战</span> </a> <a href="https://www.youleyou.com/wenzhang/3309853.html" title="网页编程软件推荐:适合新手的开发工具对比"> <div> <img src="/style/style2026/images/index3main8_no44.png" alt="" /> <span>7</span> </div> <span>网页编程软件推荐:适合新手的开发工具对比</span> </a> <a href="https://www.youleyou.com/wenzhang/3309852.html" title="Python核心编程第二版与第三版:别把“基础”当“进阶”,选错书等于白读"> <div> <img src="/style/style2026/images/index3main8_no44.png" alt="" /> <span>8</span> </div> <span>Python核心编程第二版与第三版:别把“基础”当“进阶”,选错书等于白读</span> </a> <a href="https://www.youleyou.com/wenzhang/3309851.html" title="JavaScript 高级编程第5版核心知识点与目录解析"> <div> <img src="/style/style2026/images/index3main8_no44.png" alt="" /> <span>9</span> </div> <span>JavaScript 高级编程第5版核心知识点与目录解析</span> </a> <a href="https://www.youleyou.com/wenzhang/3309850.html" title="Python核心编程第二版:经典语法回顾与常见排错技巧"> <div> <img src="/style/style2026/images/index3main8_no44.png" alt="" /> <span>10</span> </div> <span>Python核心编程第二版:经典语法回顾与常见排错技巧</span> </a> </div> </div> </div> </div> </div> <div class="index3_article1R1"> <div class="index3_title"> <div class="index3_title1"> <img src="/style/style2026/images/index3_article1R_title1.png" alt="相关攻略" /> <span>相关攻略</span> </div> <a href="/wzlist/aitutorials" class="index3title_more"> 更多 <div class="icon_f"> <svg class="icon" aria-hidden="true"> <use xlink:href="#icon-xiangyou1"></use> </svg> <svg class="icon iconhover" aria-hidden="true"> <use xlink:href="#icon-xiangyou1-copy1"></use> </svg> </div> </a> </div> <div class="index3_article1R1M"> <div class="index3_article1R1Ms"> <div> <img src="/style/style2026/images/index3_article1R1Ms.png" alt="CAD零基础入门教程:坐标输入、图层管理与基础绘图命令" /> <span>2026-09-01 16:53</span> </div> <a href="https://www.youleyou.com/wenzhang/3309587.html" title="CAD零基础入门教程:坐标输入、图层管理与基础绘图命令">CAD零基础入门教程:坐标输入、图层管理与基础绘图命令</a> </div> <div class="index3_article1R1Ms"> <div> <img src="/style/style2026/images/index3_article1R1Ms.png" alt="CAD从入门到项目交付:绘图、标注、图块与实战工作流" /> <span>2026-09-01 16:52</span> </div> <a href="https://www.youleyou.com/wenzhang/3309586.html" title="CAD从入门到项目交付:绘图、标注、图块与实战工作流">CAD从入门到项目交付:绘图、标注、图块与实战工作流</a> </div> <div class="index3_article1R1Ms"> <div> <img src="/style/style2026/images/index3_article1R1Ms.png" alt="Claude Code 登录指南:个人、Teams 与企业账号区分与授权步骤" /> <span>2026-09-01 14:27</span> </div> <a href="https://www.youleyou.com/wenzhang/3309576.html" title="Claude Code 登录指南:个人、Teams 与企业账号区分与授权步骤">Claude Code 登录指南:个人、Teams 与企业账号区分与授权步骤</a> </div> <div class="index3_article1R1Ms"> <div> <img src="/style/style2026/images/index3_article1R1Ms.png" alt="Claude Code 文件修改前的权限模式配置与命令审批指南" /> <span>2026-09-01 14:12</span> </div> <a href="https://www.youleyou.com/wenzhang/3309568.html" title="Claude Code 文件修改前的权限模式配置与命令审批指南">Claude Code 文件修改前的权限模式配置与命令审批指南</a> </div> <div class="index3_article1R1Ms"> <div> <img src="/style/style2026/images/index3_article1R1Ms.png" alt="Claude Code接入VS Code后先测扩展和终端命令" /> <span>2026-09-01 14:10</span> </div> <a href="https://www.youleyou.com/wenzhang/3309567.html" title="Claude Code接入VS Code后先测扩展和终端命令">Claude Code接入VS Code后先测扩展和终端命令</a> </div> <div class="index3_article1R1Ms"> <div> <img src="/style/style2026/images/index3_article1R1Ms.png" alt="AI聊天工具上传文件指南:格式、大小与额度限制全解析" /> <span>2026-09-01 14:07</span> </div> <a href="https://www.youleyou.com/wenzhang/3309565.html" title="AI聊天工具上传文件指南:格式、大小与额度限制全解析">AI聊天工具上传文件指南:格式、大小与额度限制全解析</a> </div> <div class="index3_article1R1Ms"> <div> <img src="/style/style2026/images/index3_article1R1Ms.png" alt="ChatGPT数据导出指南:如何正确区分聊天记录与Library文件" /> <span>2026-09-01 13:55</span> </div> <a href="https://www.youleyou.com/wenzhang/3309560.html" title="ChatGPT数据导出指南:如何正确区分聊天记录与Library文件">ChatGPT数据导出指南:如何正确区分聊天记录与Library文件</a> </div> <div class="index3_article1R1Ms"> <div> <img src="/style/style2026/images/index3_article1R1Ms.png" alt="写 ChatGPT 提示词时,正例和反例要一起给" /> <span>2026-09-01 13:47</span> </div> <a href="https://www.youleyou.com/wenzhang/3309557.html" title="写 ChatGPT 提示词时,正例和反例要一起给">写 ChatGPT 提示词时,正例和反例要一起给</a> </div> </div> </div> <div class="index3_articleR2"> <div class="index3_title"> <div class="index3_title1"> <img src="/style/style2026/images/index3_article1R_title1.png" alt="" /> <span>热门教程</span> </div> <a href="/wzlist/" class="index3title_more"> 更多 <div class="icon_f"> <svg class="icon" aria-hidden="true"> <use xlink:href="#icon-xiangyou1"></use> </svg> <svg class="icon iconhover" aria-hidden="true"> <use xlink:href="#icon-xiangyou1-copy1"></use> </svg> </div> </a> </div> <div class="index3_articleR2M"> <div class="layui-tab layui-tab-brief"> <ul class="layui-tab-title"> <li class="layui-this">游戏攻略</li> <li>安卓教程</li> <li>苹果教程</li> <li>电脑教程</li> </ul> <div class="layui-tab-content"> <div class="layui-tab-item layui-show"> <div class="index3_articleR2Ms index3_articleR2Ms_hot"> <div> <a href="https://www.youleyou.com/wenzhang/2192251.html" title="王者荣耀西施去内无遮挡无爱心图" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com/uploadfile/2023/0311/20230311102430232.webp" alt="王者荣耀西施去内无遮挡无爱心图" /> </a> <div class="index3_articleR2M_info"> <a href="https://www.youleyou.com/wenzhang/2192251.html" title="王者荣耀西施去内无遮挡无爱心图" >王者荣耀西施去内无遮挡无爱心图</a> <span>发布于 2026-09-10</span> </div> </div> <div> <a href="https://www.youleyou.com/wenzhang/2184729.html" title="18c.mic天堂传送门免费网址" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com//uploadfile/2022/1218/167133585952970.webp" alt="18c.mic天堂传送门免费网址" /> </a> <div class="index3_articleR2M_info"> <a href="https://www.youleyou.com/wenzhang/2184729.html" title="18c.mic天堂传送门免费网址" >18c.mic天堂传送门免费网址</a> <span>发布于 2026-09-10</span> </div> </div> <div> <a href="https://www.youleyou.com/wenzhang/2232441.html" title="漫蛙漫画防走失网页链接" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com//uploadfile/2024/1112/173137422573956.webp" alt="漫蛙漫画防走失网页链接" /> </a> <div class="index3_articleR2M_info"> <a href="https://www.youleyou.com/wenzhang/2232441.html" title="漫蛙漫画防走失网页链接" >漫蛙漫画防走失网页链接</a> <span>发布于 2026-09-10</span> </div> </div> <div> <a href="https://www.youleyou.com/wenzhang/2189518.html" title="香艳小店漫画免费阅读全集无删减" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com/uploadfile/2023/0210/20230210094109461.webp" alt="香艳小店漫画免费阅读全集无删减" /> </a> <div class="index3_articleR2M_info"> <a href="https://www.youleyou.com/wenzhang/2189518.html" title="香艳小店漫画免费阅读全集无删减" >香艳小店漫画免费阅读全集无删减</a> <span>发布于 2026-09-10</span> </div> </div> </div> </div> <div class="layui-tab-item"> <div class="index3_articleR2Ms index3_articleR2Ms_hot"> <div> <a href="https://www.youleyou.com/wenzhang/3309658.html" title="星途降神,共赴天城!《星途天城》手游定档10月22日公测上线" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com/uploadfile/2026/1009/20261009113051412.jpg" alt="星途降神,共赴天城!《星途天城》手游定档10月22日公测上线" /> </a> <div class="index3_articleR2M_info"> <a href="https://www.youleyou.com/wenzhang/3309658.html" title="星途降神,共赴天城!《星途天城》手游定档10月22日公测上线" >星途降神,共赴天城!《星途天城》手游定档10月22日公测上线</a> <span>发布于 2026-10-09</span> </div> </div> <div> <a href="https://www.youleyou.com/wenzhang/3309611.html" title="月光闪耀,食神驾到!《闪烁之光》中秋【宴月】专服重磅开启,万份美食免费送!" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://mjpicpri.oss-cn-hangzhou.aliyuncs.com/Uploadfiles/20260923/2026092320200725968.001.jpeg" alt="月光闪耀,食神驾到!《闪烁之光》中秋【宴月】专服重磅开启,万份美食免费送!" /> </a> <div class="index3_articleR2M_info"> <a href="https://www.youleyou.com/wenzhang/3309611.html" title="月光闪耀,食神驾到!《闪烁之光》中秋【宴月】专服重磅开启,万份美食免费送!" >月光闪耀,食神驾到!《闪烁之光》中秋【宴月】专服重磅开启,万份美食免费送!</a> <span>发布于 2026-09-24</span> </div> </div> <div> <a href="https://www.youleyou.com/wenzhang/3281360.html" title="《穿越火线:潜伏》首度亮相嘉年华,CF IP迈向3A叙事新高度" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://mjpicpri.oss-cn-hangzhou.aliyuncs.com/Uploadfiles/20260809/6392190005921936046210917.jpeg" alt="《穿越火线:潜伏》首度亮相嘉年华,CF IP迈向3A叙事新高度" /> </a> <div class="index3_articleR2M_info"> <a href="https://www.youleyou.com/wenzhang/3281360.html" title="《穿越火线:潜伏》首度亮相嘉年华,CF IP迈向3A叙事新高度" >《穿越火线:潜伏》首度亮相嘉年华,CF IP迈向3A叙事新高度</a> <span>发布于 2026-08-12</span> </div> </div> <div> <a href="https://www.youleyou.com/wenzhang/3259078.html" title="共建非遗资源联动新生态,为品牌增长探索新路径" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://mjpicpri.oss-cn-hangzhou.aliyuncs.com/Uploadfiles/20260805/2026080513374370518.001.png" alt="共建非遗资源联动新生态,为品牌增长探索新路径" /> </a> <div class="index3_articleR2M_info"> <a href="https://www.youleyou.com/wenzhang/3259078.html" title="共建非遗资源联动新生态,为品牌增长探索新路径" >共建非遗资源联动新生态,为品牌增长探索新路径</a> <span>发布于 2026-08-05</span> </div> </div> </div> </div> <div class="layui-tab-item"> <div class="index3_articleR2Ms index3_articleR2Ms_hot"> <div> <a href="https://www.youleyou.com/wenzhang/3309585.html" title="VMware安装Ubuntu完整教程:创建虚拟机与启动验证" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com//uploadfile/2026/0901/7bcf17a6adbe22a8ff220a432c55ebf8.webp" alt="VMware安装Ubuntu完整教程:创建虚拟机与启动验证" /> </a> <div class="index3_articleR2M_info"> <a href="https://www.youleyou.com/wenzhang/3309585.html" title="VMware安装Ubuntu完整教程:创建虚拟机与启动验证" >VMware安装Ubuntu完整教程:创建虚拟机与启动验证</a> <span>发布于 2026-09-01</span> </div> </div> <div> <a href="https://www.youleyou.com/wenzhang/3309584.html" title="Win10专业版U盘安装教程:制作启动盘与完整安装步骤" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com//uploadfile/2026/0901/d17f332ae4bb8a1ffc62570486f23561.webp" alt="Win10专业版U盘安装教程:制作启动盘与完整安装步骤" /> </a> <div class="index3_articleR2M_info"> <a href="https://www.youleyou.com/wenzhang/3309584.html" title="Win10专业版U盘安装教程:制作启动盘与完整安装步骤" >Win10专业版U盘安装教程:制作启动盘与完整安装步骤</a> <span>发布于 2026-09-01</span> </div> </div> <div> <a href="https://www.youleyou.com/wenzhang/3308497.html" title="Windows10系统字体太小怎么调大" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com//uploadfile/2026/0827/1787c96548d050c2c2f271c7bcd2dc31.webp" alt="Windows10系统字体太小怎么调大" /> </a> <div class="index3_articleR2M_info"> <a href="https://www.youleyou.com/wenzhang/3308497.html" title="Windows10系统字体太小怎么调大" >Windows10系统字体太小怎么调大</a> <span>发布于 2026-08-27</span> </div> </div> <div> <a href="https://www.youleyou.com/wenzhang/3308496.html" title="Win10磁盘占用100%基础排查:从监控到清理的完整步骤" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com//uploadfile/2026/0827/37fcf31faaee56adf69f7d7f1883489f.webp" alt="Win10磁盘占用100%基础排查:从监控到清理的完整步骤" /> </a> <div class="index3_articleR2M_info"> <a href="https://www.youleyou.com/wenzhang/3308496.html" title="Win10磁盘占用100%基础排查:从监控到清理的完整步骤" >Win10磁盘占用100%基础排查:从监控到清理的完整步骤</a> <span>发布于 2026-08-27</span> </div> </div> </div> </div> <div class="layui-tab-item"> <div class="index3_articleR2Ms index3_articleR2Ms_hot"> <div> <a href="https://www.youleyou.com/wenzhang/3309013.html" title="小米AI Cube工程版详解:三芯协同架构与150W本地大模型部署" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com//uploadfile/2026/0828/906bf5ef00c3159bce4405517ebe902d.webp" alt="小米AI Cube工程版详解:三芯协同架构与150W本地大模型部署" /> </a> <div class="index3_articleR2M_info"> <a href="https://www.youleyou.com/wenzhang/3309013.html" title="小米AI Cube工程版详解:三芯协同架构与150W本地大模型部署" >小米AI Cube工程版详解:三芯协同架构与150W本地大模型部署</a> <span>发布于 2026-08-28</span> </div> </div> <div> <a href="https://www.youleyou.com/wenzhang/3309011.html" title="致态Ti600s 2TB SSD评测:Xtacking 4.0架构下的性能与寿命突破" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com//uploadfile/2026/0828/bb780fc71282b1f048aeca4c7e24a3c6.webp" alt="致态Ti600s 2TB SSD评测:Xtacking 4.0架构下的性能与寿命突破" /> </a> <div class="index3_articleR2M_info"> <a href="https://www.youleyou.com/wenzhang/3309011.html" title="致态Ti600s 2TB SSD评测:Xtacking 4.0架构下的性能与寿命突破" >致态Ti600s 2TB SSD评测:Xtacking 4.0架构下的性能与寿命突破</a> <span>发布于 2026-08-28</span> </div> </div> <div> <a href="https://www.youleyou.com/wenzhang/3309010.html" title="鲁大师怎么看轻薄本是否过热:三步判断法" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com//uploadfile/2026/0827/4bac5d83512a8021c9d6e1873789291d.webp" alt="鲁大师怎么看轻薄本是否过热:三步判断法" /> </a> <div class="index3_articleR2M_info"> <a href="https://www.youleyou.com/wenzhang/3309010.html" title="鲁大师怎么看轻薄本是否过热:三步判断法" >鲁大师怎么看轻薄本是否过热:三步判断法</a> <span>发布于 2026-08-27</span> </div> </div> <div> <a href="https://www.youleyou.com/wenzhang/3309009.html" title="WPS PDF查看缩略图:3步调出页面预览快速定位" > <img onerror="this.onerror=''; this.src='/style/style2025/images/null.png'" src="https://static.youleyou.com//uploadfile/2026/0827/153d695d436489964e72a32c8c43e594.webp" alt="WPS PDF查看缩略图:3步调出页面预览快速定位" /> </a> <div class="index3_articleR2M_info"> <a href="https://www.youleyou.com/wenzhang/3309009.html" title="WPS PDF查看缩略图:3步调出页面预览快速定位" >WPS PDF查看缩略图:3步调出页面预览快速定位</a> <span>发布于 2026-08-27</span> </div> </div> </div> </div> </div> </div> </div> </div> <div class="index3_articleR3"> <div class="index3_title"> <div class="index3_title1"> <img src="/style/style2026/images/index3_article1R_title1.png" alt="" /> <span>热门话题</span> </div> <a href="/wzzt.html" class="index3title_more"> 更多 <div class="icon_f"> <svg class="icon" aria-hidden="true"> <use xlink:href="#icon-xiangyou1"></use> </svg> <svg class="icon iconhover" aria-hidden="true"> <use xlink:href="#icon-xiangyou1-copy1"></use> </svg> </div> </a> </div> <div class="index3main6M2"> <div class="index3main3Mss"> <img src="/style/style2026/images/index3main3Ms.png" alt="AI会议纪要工具推荐_AI会议转写教程_自动总结会议记录指南" /> <a href="/zt/wz_6507548/" title="AI会议纪要工具推荐_AI会议转写教程_自动总结会议记录指南">AI会议纪要工具推荐_AI会议转写教程_自动总结会议记录指南</a> </div> <div class="index3main3Mss"> <img src="/style/style2026/images/index3main3Ms.png" alt="AI浏览器哪个好用_AI浏览器功能对比_智能上网助手指南" /> <a href="/zt/wz_6507547/" title="AI浏览器哪个好用_AI浏览器功能对比_智能上网助手指南">AI浏览器哪个好用_AI浏览器功能对比_智能上网助手指南</a> </div> <div class="index3main3Mss"> <img src="/style/style2026/images/index3main3Ms.png" alt="Agentic Coding是什么_AI编程智能体教程_自动开发工作流指南" /> <a href="/zt/wz_6507546/" title="Agentic Coding是什么_AI编程智能体教程_自动开发工作流指南">Agentic Coding是什么_AI编程智能体教程_自动开发工作流指南</a> </div> <div class="index3main3Mss"> <img src="/style/style2026/images/index3main3Ms.png" alt="Vibe Coding是什么_Vibe Coding工具推荐_AI编程实战指南" /> <a href="/zt/wz_6507545/" title="Vibe Coding是什么_Vibe Coding工具推荐_AI编程实战指南">Vibe Coding是什么_Vibe Coding工具推荐_AI编程实战指南</a> </div> <div class="index3main3Mss"> <img src="/style/style2026/images/index3main3Ms.png" alt="具身智能是什么_机器人AI应用场景_具身大模型趋势指南" /> <a href="/zt/wz_6507544/" title="具身智能是什么_机器人AI应用场景_具身大模型趋势指南">具身智能是什么_机器人AI应用场景_具身大模型趋势指南</a> </div> <div class="index3main3Mss"> <img src="/style/style2026/images/index3main3Ms.png" alt="GEO优化是什么_生成式引擎优化教程_AI搜索排名指南" /> <a href="/zt/wz_6507543/" title="GEO优化是什么_生成式引擎优化教程_AI搜索排名指南">GEO优化是什么_生成式引擎优化教程_AI搜索排名指南</a> </div> <div class="index3main3Mss"> <img src="/style/style2026/images/index3main3Ms.png" alt="AI网络安全应用场景_AI威胁检测教程_安全智能体指南" /> <a href="/zt/wz_6507542/" title="AI网络安全应用场景_AI威胁检测教程_安全智能体指南">AI网络安全应用场景_AI威胁检测教程_安全智能体指南</a> </div> <div class="index3main3Mss"> <img src="/style/style2026/images/index3main3Ms.png" alt="AI影视制作教程_AI视频剪辑与生成_影视行业AI工具指南" /> <a href="/zt/wz_6507540/" title="AI影视制作教程_AI视频剪辑与生成_影视行业AI工具指南">AI影视制作教程_AI视频剪辑与生成_影视行业AI工具指南</a> </div> <div class="index3main3Mss"> <img src="/style/style2026/images/index3main3Ms.png" alt="AI游戏应用场景_AI游戏开发工具_智能NPC与关卡生成指南" /> <a href="/zt/wz_6507541/" title="AI游戏应用场景_AI游戏开发工具_智能NPC与关卡生成指南">AI游戏应用场景_AI游戏开发工具_智能NPC与关卡生成指南</a> </div> </div> </div> </div> </div> </div> </main> <footer> <div class="index3footer"> <div class="index3footer1"> <a href="/wenzhang/2756709.html">关于我们</a> <span></span> <a href="/wenzhang/2756708.html">联系我们</a> <span></span> <a href="/wenzhang/2756708.html">加入我们</a> <span></span> <a href="https://m.youleyou.com/">WAP版</a> <span></span> <a href="/new">网站地图</a> </div> <div class="index3footer2"> <span>声明:游乐网为非赢利性网站 不接受任何赞助和广告</span> <span>Copyright 2025-2026 www.youleyou.com All Rights Reserved.</span> </div> <div class="index3footer3"> <span>湘ICP备2022002617号-10</span> <div> <img src="https://www.youleyou.com/style/style2025/new/images/gongan.png" alt="" /> <span>湘公网安备 43070202000716号</span> </div> <a href="/wenzhang/2756708.html">违规内容举报</a> <a href="/wenzhang/2756708.html">网络侵权举报</a> <a href="/wenzhang/2756708.html">游戏侵权举报</a> </div> <span>联系方式:youleyoucom@outlook.com</span> </div> </footer> <script src="/style/style2026/js/jquery-1.8.3.min.js"></script> <script src="/style/style2026/js/common.js"></script> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?c32ac38c19e064eb1c81c2a84384de83"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> </body> </html>