相關主題
商品描述
Get a free eBook (PDF or ePub) from Manning as well as access to the online liveBook format (and its AI assistant that will answer your questions in any language) when you purchase the print book. The only way to master a skill is practice, practice, practice. That's exactly what you'll do in this book! In this instantly-valuable book you'll work through 200 carefully selected exercises that flex your programming muscles. You'll practice core Python language features and techniques that reinforce the programming patterns you'll use every day and build the skills you need to troubleshoot your programs. In Python Workout, Second Edition you'll find 200 exercises, including: - Working with text using strings
- Mastering dictionaries and sets
- Reading, writing, and manipulating files
- Functional programming with comprehensions
- Python modules and packages
- Creating iterators and generators About the technology Become a champion Python programmer by making its most powerful features second nature! In this unique book, internationally-recognized Python trainer Reuven Lerner builds your mental muscle by guiding you through 200 targeted exercises. About the book Python Workout, Second Edition is a hands-on training program designed to boost your productivity and code quality. You'll practice everything from basics like strings and dictionaries to techniques for writing elegant, data-agnostic code with dynamic typing, generic functions, and comprehensions. Each exercise includes a detailed solution along with additional challenges that help you push your skills even farther. What's inside - Lock in essential Python skills
- Improve your code readability and maintainability
- Prepare for AI-assisted workflows About the reader For beginning to intermediate Python programmers. About the author Reuven M. Lerner teaches Python at companies around the world and at LernerPython.com. He also wrote Pandas Workout. Table of Contents 1 Improving your Python with practice
2 Numeric types
3 Strings
4 Lists and tuples
5 Dictionaries and sets
6 Files
7 Functions
8 Functional programming with comprehensions
9 Modules and packages
10 Objects
11 Iterators and generators
12 Where to from here?
- Mastering dictionaries and sets
- Reading, writing, and manipulating files
- Functional programming with comprehensions
- Python modules and packages
- Creating iterators and generators About the technology Become a champion Python programmer by making its most powerful features second nature! In this unique book, internationally-recognized Python trainer Reuven Lerner builds your mental muscle by guiding you through 200 targeted exercises. About the book Python Workout, Second Edition is a hands-on training program designed to boost your productivity and code quality. You'll practice everything from basics like strings and dictionaries to techniques for writing elegant, data-agnostic code with dynamic typing, generic functions, and comprehensions. Each exercise includes a detailed solution along with additional challenges that help you push your skills even farther. What's inside - Lock in essential Python skills
- Improve your code readability and maintainability
- Prepare for AI-assisted workflows About the reader For beginning to intermediate Python programmers. About the author Reuven M. Lerner teaches Python at companies around the world and at LernerPython.com. He also wrote Pandas Workout. Table of Contents 1 Improving your Python with practice
2 Numeric types
3 Strings
4 Lists and tuples
5 Dictionaries and sets
6 Files
7 Functions
8 Functional programming with comprehensions
9 Modules and packages
10 Objects
11 Iterators and generators
12 Where to from here?
商品描述(中文翻譯)
購買印刷書籍後,您將獲得來自 Manning 的免費電子書(PDF 或 ePub),以及訪問線上 liveBook 格式(及其 AI 助手,能以任何語言回答您的問題)的權限。
掌握一項技能的唯一方法就是練習、練習、再練習。這正是您在本書中所做的!在這本即時有價值的書中,您將完成 200 個精心挑選的練習,鍛鍊您的程式設計能力。 您將練習核心的 Python 語言特性和技術,這些將強化您每天使用的程式設計模式,並建立您排除程式錯誤所需的技能。 在 Python Workout, Second Edition 中,您將找到 200 個練習,包括: - 使用字串處理文本- 精通字典和集合
- 讀取、寫入和操作檔案
- 使用列表推導進行函數式程式設計
- Python 模組和套件
- 創建迭代器和生成器 關於技術 通過使 Python 最強大的特性成為第二天性,成為一名優秀的 Python 程式設計師!在這本獨特的書中,國際知名的 Python 培訓師 Reuven Lerner 通過引導您完成 200 個針對性的練習來增強您的思維能力。 關於本書 Python Workout, Second Edition 是一個實作訓練計畫,旨在提升您的生產力和程式碼品質。您將練習從字串和字典等基礎知識到撰寫優雅、與數據無關的動態類型程式碼、通用函數和列表推導的技術。每個練習都包括詳細的解答以及額外的挑戰,幫助您進一步提升技能。 內容概覽 - 鎖定基本的 Python 技能
- 改善您的程式碼可讀性和可維護性
- 為 AI 輔助的工作流程做好準備 關於讀者 適合初學到中級的 Python 程式設計師。 關於作者 Reuven M. Lerner 在全球各地的公司及 LernerPython.com 教授 Python。他還撰寫了 Pandas Workout。 目錄 1 提升您的 Python 技能的練習
2 數值類型
3 字串
4 列表和元組
5 字典和集合
6 檔案
7 函數
8 使用列表推導進行函數式程式設計
9 模組和套件
10 物件
11 迭代器和生成器
12 接下來該怎麼做?
作者簡介
Reuven M. Lerner teaches Python and data science to companies around the world. He is also the author of Manning's Python Workout (2020).
作者簡介(中文翻譯)
Reuven M. Lerner 在全球各地的公司教授 Python 和數據科學。他也是 Manning 出版社的 Python Workout(2020)的作者。