Modern Python Cookbook (Paperback)
暫譯: 現代 Python 食譜 (平裝本)
Steven F. Lott
- 出版商: Packt Publishing
- 出版日期: 2016-11-30
- 定價: $1,650
- 售價: 6.0 折 $990
- 語言: 英文
- 頁數: 824
- 裝訂: Paperback
- ISBN: 1786469251
- ISBN-13: 9781786469250
-
相關分類:
Python、程式語言
-
相關翻譯:
Python經典實例 (簡中版)
-
其他版本:
Modern Python Cookbook - Second Edition: 133 recipes to develop flawless and expressive programs in Python 3.8
商品描述
Key Features
- Develop succinct, expressive programs in Python
- Learn the best practices and common idioms through carefully explained and structured recipes
- Discover new ways to apply Python for the new age of development
Book Description
Python is the preferred choice of developers, engineers, data scientists, and hobbyists everywhere. It is a great scripting language that can power your applications and provide great speed, safety, and scalability. By exposing Python as a series of simple recipes, you can gain insight into specific language features in a particular context. Having a tangible context helps make the language or standard library feature easier to understand.
This book comes with over 100 recipes on the latest version of Python. The recipes will benefit everyone ranging from beginner to an expert. The book is broken down into 13 chapters that build from simple language concepts to more complex applications of the language.
The recipes will touch upon all the necessary Python concepts related to data structures, OOP, functional programming, as well as statistical programming. You will get acquainted with the nuances of Python syntax and how to effectively use the advantages that it offers. You will end the book equipped with the knowledge of testing, web services, and configuration and application integration tips and tricks.
The recipes take a problem-solution approach to resolve issues commonly faced by Python programmers across the globe. You will be armed with the knowledge of creating applications with flexible logging, powerful configuration, and command-line options, automated unit tests, and good documentation.
What you will learn
- See the intricate details of the Python syntax and how to use it to your advantage
- Improve your code readability through functions in Python
- Manipulate data effectively using built-in data structures
- Get acquainted with advanced programming techniques in Python
- Equip yourself with functional and statistical programming features
- Write proper tests to be sure a program works as advertised
- Integrate application software using Python
About the Author
Steven F. Lott has been programming since the 70s, when computers were large, expensive, and rare. As a contract software developer and architect, he has worked on hundreds of projects, from very small to very large. He's been using Python to solve business problems for over 10 years.
He’s currently leveraging Python to implement microservices and ETL pipelines. His other titles with Packt Publishing include Python Essentials, Mastering Object-Oriented Python, Functional Python Programming, and Python for Secret Agents.
Steven is currently a technomad who lives in various places on the east coast of the U.S. His technology blog is http://slott-softwarearchitect.blogspot.com and his LinkedIn address is https://www.linkedin.com/in/steven-lott-029835.
Table of Contents
- Numbers, Strings, and Tuples
- Statements and Syntax
- Function Definitions
- Built-in Data Structures – list, set, dict
- User Inputs and Outputs
- Basics of Classes and Objects
- More Advanced Class Design
- Functional and Reactive Programming Features
- Input/Output, Physical Format, and Logical Layout
- Statistical Programming and Linear Regression
- Testing
- Web Services
- Application Integration
商品描述(中文翻譯)
**主要特點**
- 使用 Python 開發簡潔且具表達力的程式
- 透過精心解釋和結構化的食譜學習最佳實踐和常見慣用法
- 探索在新時代開發中應用 Python 的新方法
**書籍描述**
Python 是開發人員、工程師、數據科學家和愛好者的首選。它是一種出色的腳本語言,可以為您的應用程式提供卓越的速度、安全性和可擴展性。通過將 Python 以一系列簡單的食譜呈現,您可以在特定上下文中深入了解特定的語言特性。擁有具體的上下文有助於使語言或標準庫的特性更易於理解。
本書包含超過 100 個針對最新版本 Python 的食譜,這些食譜將使從初學者到專家的每個人受益。書籍分為 13 章,從簡單的語言概念逐步構建到更複雜的語言應用。
這些食譜將涵蓋與數據結構、物件導向程式設計 (OOP)、函數式程式設計以及統計程式設計相關的所有必要 Python 概念。您將熟悉 Python 語法的細微差別,以及如何有效利用其提供的優勢。您將在結束本書時掌握測試、網路服務以及配置和應用整合的技巧和竅門。
這些食譜採用問題解決的方法來解決全球 Python 程式設計師常面臨的問題。您將掌握創建具有靈活日誌記錄、強大配置和命令列選項、自動化單元測試以及良好文檔的應用程式的知識。
**您將學到的內容**
- 了解 Python 語法的複雜細節以及如何利用它
- 通過 Python 的函數提高程式碼可讀性
- 使用內建數據結構有效地操作數據
- 熟悉 Python 中的進階程式設計技術
- 裝備自己以使用函數式和統計程式設計特性
- 撰寫適當的測試以確保程式如廣告所述運作
- 使用 Python 整合應用程式軟體
**關於作者**
**Steven F. Lott** 自 70 年代以來一直在編程,當時的電腦龐大、昂貴且稀有。作為一名合約軟體開發人員和架構師,他參與了數百個項目,從非常小到非常大。他已經使用 Python 解決商業問題超過 10 年。
他目前正在利用 Python 實現微服務和 ETL 管道。他在 Packt Publishing 的其他著作包括《Python Essentials》、《Mastering Object-Oriented Python》、《Functional Python Programming》和《Python for Secret Agents》。
Steven 目前是一名技術遊牧者,居住在美國東海岸的各個地方。他的技術部落格是 http://slott-softwarearchitect.blogspot.com,他的 LinkedIn 地址是 https://www.linkedin.com/in/steven-lott-029835。
**目錄**
1. 數字、字串和元組
2. 語句和語法
3. 函數定義
4. 內建數據結構 – list、set、dict
5. 使用者輸入和輸出
6. 類和物件的基本概念
7. 更進階的類設計
8. 函數式和反應式程式設計特性
9. 輸入/輸出、物理格式和邏輯佈局
10. 統計程式設計和線性回歸
11. 測試
12. 網路服務
13. 應用整合