|
1 | 1 |
|
2 |
| -# 《AI 辅助编程:借助 GitHub Copilot 和 ChatGPT 掌握 Python》 |
| 2 | +# 《AI 辅助编程:借助 GitHub Copilot 和 ChatGPT 快速掌握 Python》 |
3 | 3 |
|
4 |
| -> ### 译者按 |
5 |
| -> |
6 |
| -> 这可能是 “AI 辅助编程” 领域的第一本著作。原版由 Manning 公司出版于 2023 年底,中文版引进情况不详。魔法哥节选部分章节试译,仅供个人学习之用,严禁用于商业用途。 |
| 4 | +> 这可能是 “AI 辅助编程” 领域的第一本著作。原版由 Manning 公司出版于 2023 年底,中文版由人民邮电出版社引进,即将上市! |
7 | 5 |
|
8 | 6 |
|
9 | 7 | <img src="https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/assets/1231359/1ce9bd10-bc02-4cf4-9598-939d9ab3dd17" width="399" alt="Cover">
|
10 | 8 |
|
11 | 9 | ## 基本信息
|
12 | 10 |
|
13 |
| -* 书名:Learn AI-Assisted Python Programming: With GitHub Copilot and ChatGPT |
| 11 | +* 中文版书名:**《AI 辅助编程:借助 GitHub Copilot 和 ChatGPT 快速掌握 Python》**(暂定) |
| 12 | +* 英文原版书名:_Learn AI-Assisted Python Programming: With GitHub Copilot and ChatGPT_ |
14 | 13 | * 作者:Leo Porter / Daniel Zingaro
|
15 |
| -* 出版社:Manning |
16 |
| -* 出版时间:2023-11-21 |
17 |
| -* 页数:约 296 页 |
18 |
| -* 定价:39.99 美元 |
19 |
| -* ISBN:9781633437784 |
20 |
| -* 正版购买渠道:[Manning 官网](https://www.manning.com/books/learn-ai-assisted-python-programming) | [亚马逊](https://www.amazon.com/Learn-AI-assisted-Python-Programming-Copilot/dp/1633437787) | [天猫](https://detail.tmall.com/item.htm?id=750376185496) |
| 14 | +* 译者:CSS魔法 |
| 15 | +* 出版社:人民邮电出版社 · 异步图书 |
| 16 | +* 出版时间:(未出版,待定) |
| 17 | +* ISBN:(未出版,待定) |
| 18 | +* 页数:约 300 页(胶版纸,黑白印刷) |
| 19 | +* 定价:(未出版,待定) |
| 20 | + |
| 21 | +<!-- --> |
| 22 | + |
| 23 | +* 前瞻介绍:[新书《AI 辅助编程》在翻译了,不容错过!](https://mp.weixin.qq.com/s/VJt8IvzGJ4QUFUeV-i5BZw) |
| 24 | + |
| 25 | +<!-- --> |
| 26 | + |
| 27 | +* ~~英文原版购买渠道:[Manning 官网](https://www.manning.com/books/learn-ai-assisted-python-programming) | [亚马逊](https://www.amazon.com/Learn-AI-assisted-Python-Programming-Copilot/dp/1633437787) | [京东](https://item.jd.com/10093437770002.html) | [天猫](https://detail.tmall.com/item.htm?id=756009316440)~~ |
| 28 | +* 中文版购买渠道:(未出版,待定) |
| 29 | + |
| 30 | + |
| 31 | +## 原书介绍 |
| 32 | + |
| 33 | +#### 内容概览 |
| 34 | + |
| 35 | +编写计算机程序的方式已经发生了翻天覆地的变化。通过 GitHub Copilot,你只需用通俗易懂的自然语言来描述你的需求,AI 便会迅速为你生成相应的代码。 |
| 36 | + |
| 37 | +本书将指导你利用AI来创建和优化 Python 程序,即便您之前没有任何编写计算机代码的经验。你不必深陷于繁琐的底层编程细节,而是学会借助 AI 助手迅速将你的创意转化为现实。在这一过程中,你还将逐渐掌握 Python 语言,从而能够理解并改进 AI 助手所创造的成果。 |
| 38 | + |
| 39 | +只要你会在电脑上移动文件和安装程序,你就能学会编程! |
| 40 | + |
| 41 | +* 编写提示词来生成可用的代码 |
| 42 | +* 手工或在 AI 辅助下精细调整代码 |
| 43 | +* 运用 AI 对程序进行测试 |
| 44 | +* 让 AI 处理繁琐的细节 |
| 45 | + |
| 46 | +#### 推荐语 |
| 47 | + |
| 48 | +* “……其精妙之处在于,不仅教你如何运用 AI 工具来生成代码,还循序渐进地向你传授编程的精髓。” <br>——梅赫兰·萨哈米,斯坦福大学 |
| 49 | + |
| 50 | +* “这本书对于刚开始使用 AI 工具学习编程的人来说,设计得非常贴心和周到。”<br>——安娜·贝尔,麻省理工学院 |
| 51 | + |
| 52 | +* “如果你打算踏上编程学习之旅,那么陪伴你的将是本世纪迄今为止最令人兴奋的辅助工具之一……”<br>——加州大学圣地亚哥分校贝丝·西蒙倾情作序 |
| 53 | + |
| 54 | +* “这本书将极大地加速你的 Copilot 编程学习之旅,效果之好,远超我的想像。”<br>——奥斯汀·Z·亨利,微软 |
| 55 | + |
21 | 56 |
|
22 | 57 | ## 目录
|
23 | 58 |
|
24 |
| -0. 序章 |
25 |
| - * [欢迎加入](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/1) |
| 59 | +> 完整章节目录和试读样章参见 [总目录](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/42)。 |
| 60 | +
|
26 | 61 | 1. [第一章 走近 AI 辅助编程](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/2)
|
27 |
| - * [1.1 我们如何与计算机对话](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/3) |
28 |
| - * [1.2 本书涉及的技术](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/4) |
29 |
| - * [1.3 Copilot 如何改变我们学习编程的方式](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/5) |
30 |
| - * [1.4 Copilot 还可以做什么](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/6) |
31 |
| - * [1.5 使用 Copilot 的风险和挑战](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/7) |
32 |
| - * [1.6 我们所需的技能](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/8) |
33 |
| - * [1.7 大众对于 AI 编程助手的担忧](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/9) |
34 |
| - * [本章小结](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/10) |
35 | 62 | 2. [第二章 快速上手 Copilot](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/29)
|
36 |
| - * [2.1 为接下来的学习做好准备工作](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/31) |
37 |
| - * [2.2 设置你的系统](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/32) |
38 |
| - * [2.3 在 VS Code 中使用 Copilot](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/33) |
39 |
| - * [2.4 应对常见的 Copilot 难题](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/34) |
40 |
| - * [2.5 我们的第一个编程练习](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/35) |
41 |
| - * [本章小结](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/30) |
42 | 63 | 3. [第三章 设计函数](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/27)
|
43 |
| - * [3.1 初识函数](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/36) |
44 |
| - * [3.2 函数的益处](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/37) |
45 |
| - * [3.3 函数的角色](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/38) |
46 |
| - * [3.4 一个函数的合理任务应该是什么样的?](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/39) |
47 |
| - * [3.5 使用 Copilot 设计函数的流程](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/40) |
48 |
| - * [3.6 与 Copilot 配合创建优秀函数的示例](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/41) |
49 |
| - * [本章小结](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/28) |
50 | 64 | 4. [第四章 理解 Python 代码(上)](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/25)
|
51 |
| - * (本章正文略) |
52 |
| - * [本章小结](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/26) |
53 | 65 | 5. [第五章 理解 Python 代码(下)](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/11)
|
54 |
| - * (本章正文略) |
55 |
| - * [本章小结](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/18) |
56 | 66 | 6. [第六章 程序测试与提示工程](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/12)
|
57 |
| - * (本章正文略) |
58 |
| - * [本章小结](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/19) |
59 |
| -7. [第七章 分解问题](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/13) |
60 |
| - * (本章正文略) |
61 |
| - * [本章小结](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/20) |
| 67 | +7. [第七章 问题分解](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/13) |
62 | 68 | 8. [第八章 调试代码并且更深入地理解代码](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/14)
|
63 |
| - * (本章正文略) |
64 |
| - * [本章小结](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/21) |
65 | 69 | 9. [第九章 繁琐事务自动化](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/15)
|
66 |
| - * (本章正文略) |
67 |
| - * [本章小结](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/22) |
68 | 70 | 10. [第十章 开发小游戏](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/16)
|
69 |
| - * (本章正文略) |
70 |
| - * [本章小结](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/23) |
71 | 71 | 11. [第十一章 展望未来](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/17)
|
72 |
| - * (本章正文略) |
73 |
| - * [本章小结](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/24) |
74 | 72 |
|
75 |
| -## 更多介绍 |
| 73 | +<!-- |
76 | 74 |
|
77 |
| -**Writing computer programs in Python just got a lot easier! Use AI-assisted coding tools like GitHub Copilot and ChatGPT to turn your ideas into applications faster than ever.** |
| 75 | +## 常见问题 <a name="faq"> </a> |
78 | 76 |
|
79 |
| -**用 Python 编程现在变得超级简单!借助 AI 辅助编程工具,比如 GitHub Copilot 和 ChatGPT,你的想法可以更快地转化为可运行的程序。** |
| 77 | +* (待整理) |
80 | 78 |
|
81 |
| -AI has changed the way we write computer programs. With tools like Copilot and ChatGPT, you can describe what you want in plain English, and watch your AI assistant generate the code right before your eyes. It’s perfect for beginners, or anyone who’s struggled with the steep learning curve of traditional programming. |
| 79 | +## 读者交流 <a name="feedback"> </a> |
82 | 80 |
|
83 |
| -AI 改变了我们编写程序的方式。通过使用 Copilot 和 ChatGPT 这样的工具,你只需用简单的语言描述你的需求,就可以看到 AI 助手在你眼前生成代码。这对于初学者或曾在传统编程的学习曲线上苦苦挣扎的人们来说,实在是太完美了。 |
| 81 | +* 关于这本书的疑问、讨论、反馈,[请发 issue](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/new)。 |
| 82 | +* 在书中发现任何错误,欢迎提交勘误。(请 [新开一个 issue](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/new) 来描述这个错误,并在标题中注明 “提交勘误”。当编辑或译者确认为错误后,将会收录到 “勘误表” 中。感谢你的反馈!) |
84 | 83 |
|
85 |
| -In _Learn AI-Assisted Python Programming: With GitHub Copilot and ChatGPT_ you’ll learn how to: |
| 84 | +--> |
86 | 85 |
|
87 |
| -在本书中,你将学会: |
| 86 | +## 文档与资料 <a name="doc"> </a> |
88 | 87 |
|
89 |
| -* Write fun and useful Python applications—-no programming experience required! |
90 |
| -* Use the Copilot AI coding assistant to create Python programs |
91 |
| -* Write prompts that tell Copilot exactly what to do |
92 |
| -* Read Python code and understand what it does |
93 |
| -* Test your programs to make sure they work the way you want them to |
94 |
| -* Fix code with prompt engineering or human tweaks |
95 |
| -* Apply Python creatively to help out on the job |
| 88 | +#### 试读样章 <a name="preview"> </a> |
96 | 89 |
|
97 |
| -<!-- --> |
| 90 | +* 本仓库提供部分章节的译稿预览,请到 [总目录](https://github.com/cssmagic/CSS-Secrets/issues/17) 中按章节阅读。 |
| 91 | +* 前往 [异步社区](https://www.epubit.com/) 阅读免费的试读样章。 |
| 92 | + |
| 93 | +<!-- |
| 94 | +
|
| 95 | +#### 勘误表 |
| 96 | +
|
| 97 | +(待出版后整理) |
| 98 | +
|
| 99 | +--> |
| 100 | + |
| 101 | +#### 原书配套资料 |
| 102 | + |
| 103 | +* [下载原书配套资料](https://www.manning.com/downloads/2651) |
98 | 104 |
|
99 |
| -* 编写既有趣又实用的 Python 应用程序——无需编程经验! |
100 |
| -* 利用 Copilot AI 编程助手来编写 Python 程序 |
101 |
| -* 编写提示词,精确引导 Copilot |
102 |
| -* 阅读 Python 代码并理解其功能 |
103 |
| -* 测试你的程序,确保它们按照你的意图运作 |
104 |
| -* 利用提示工程或人工微调来修复代码 |
105 |
| -* 创造性地运用 Python 来优化工作流程 |
| 105 | +#### 其他资料 |
106 | 106 |
|
107 |
| -_Learn AI-Assisted Python Programming: With GitHub Copilot and ChatGPT_ is a hands-on beginner’s guide that is written by two esteemed computer science university professors. It teaches you everything you need to start programming Python in an AI-first world. You’ll hit the ground running, writing prompts that tell your AI-assistant exactly what you want your programs to do. Along the way, you’ll pick up the essentials of Python programming and practice the higher-level thinking you’ll need to create working apps for data analysis, automating tedious tasks, and even video games. |
| 107 | +* [全书插图(彩色版)](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/tree/master/content/_figures) |
108 | 108 |
|
109 |
| -这本书是专为初学者准备的实操指南,出自两位备受敬仰的计算机科学领域大学教授之手。本书将全面指导你在 AI 时代如何开启 Python 编程之旅。你将快速上手,学会编写提示词,精确引导你的 AI 助理,完成你想要的编程任务。在这一过程中,你不仅会学到 Python 编程的核心知识,还将实践高层次的思维能力,从而完成数据分析、繁琐事务自动化、甚至是游戏开发等复杂任务。 |
| 109 | +<!-- * 术语翻译对照表(待整理)--> |
110 | 110 |
|
111 | 111 | ***
|
112 | 112 |
|
113 |
| -## Copyright |
| 113 | +### Copyright |
114 | 114 |
|
115 |
| -* Original text and graphics: © 2024 Manning Publications Co. |
116 |
| -* Chinese Translation: © CSS魔法, CC BY-NC-ND 4.0 |
| 115 | +* 英文原版: © 2024 Manning Publications Co. |
| 116 | +* 中文版: © 2024 人民邮电出版社 |
0 commit comments