Modern Python Cookbook - Third Edition: 130+ updated recipes for modern Python 3.12 with new techniques and tools

Lott, Steven F.

  • 出版商: Packt Publishing
  • 出版日期: 2024-07-31
  • 售價: $2,220
  • 貴賓價: 9.5$2,109
  • 語言: 英文
  • 頁數: 818
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1835466389
  • ISBN-13: 9781835466384
  • 相關分類: Python程式語言
  • 海外代購書籍(需單獨結帳)

商品描述

Enhance your Python skills with the third edition of Modern Python Cookbook with 130+ new and updated recipes covering Python 3.12, including new coverage on graphics, visualizations, dependencies, virtual environments, and more.

Purchase of the print or Kindle book includes a free eBook in PDF format

Key Features:

- New chapters on type matching, data visualization, dependency management, and more

- Comprehensive coverage of Python 3.12 with updated recipes and techniques

- Provides practical examples and detailed explanations to solve real-world problems efficiently

Book Description:

Python is the go-to language for developers, engineers, data scientists, and hobbyists worldwide. Known for its versatility, Python can efficiently power applications, offering remarkable speed, safety, and scalability. This book distills Python into a collection of straightforward recipes, providing insights into specific language features within various contexts, making it an indispensable resource for mastering Python and using it to handle real-world use cases.

The third edition of Modern Python Cookbook provides an in-depth look into Python 3.12, offering more than 140 new and updated recipes that cater to both beginners and experienced developers. This edition introduces new chapters on documentation and style, data visualization with Matplotlib and Pyplot, and advanced dependency management techniques using tools like Poetry and Anaconda. With practical examples and detailed explanations, this cookbook helps developers solve real-world problems, optimize their code, and get up to date with the latest Python features.

What You Will Learn:

- Master core Python data structures, algorithms, and design patterns

- Implement object-oriented designs and functional programming features

- Use type matching and annotations to make more expressive programs

- Create useful data visualizations with Matplotlib and Pyplot

- Manage project dependencies and virtual environments effectively

- Follow best practices for code style and testing

- Create clear and trustworthy documentation for your projects

Who this book is for:

This Python book is for web developers, programmers, enterprise programmers, engineers, and big data scientists. If you are a beginner, this book offers helpful details and design patterns for learning Python. If you are experienced, it will expand your knowledge base. Fundamental knowledge of Python programming and basic programming principles will be helpful

Table of Contents

- Numbers, Strings, and Tuples

- Statements and Syntax

- Function Definitions

- Built-In Data Structures Part 1: Lists and Sets

- Built-In Data Structures Part 2: Dictionaries

- User Inputs and Outputs

- Basics of Classes and Objects

- More Advanced Class Design

- Functional Programming Features

- Type Matching and Annotations

- Input/Output, Physical Format, and Logical Layout

- Graphics and Visualization with Jupyter Lab

- Application Integration: Configuration

- Application Integration: Combination

- Testing

- Dependencies and Virtual Environments

- Documentation and Style

商品描述(中文翻譯)

提升您的 Python 技能,透過《現代 Python 食譜》第三版,內含 130 多個新更新的食譜,涵蓋 Python 3.12,包括圖形、視覺化、依賴性、虛擬環境等新內容。

購買印刷版或 Kindle 版書籍可獲得免費 PDF 格式電子書。

主要特色:
- 新增有關類型匹配、數據視覺化、依賴性管理等章節
- 全面涵蓋 Python 3.12,並更新食譜和技術
- 提供實用範例和詳細解釋,以有效解決現實世界的問題

書籍描述:
Python 是全球開發者、工程師、數據科學家和愛好者的首選語言。因其多功能性,Python 能高效驅動應用程式,提供卓越的速度、安全性和可擴展性。本書將 Python 精煉為一系列簡單的食譜,提供對特定語言特性的見解,適用於各種情境,使其成為掌握 Python 和處理現實案例的不可或缺資源。

《現代 Python 食譜》第三版深入探討 Python 3.12,提供超過 140 個新更新的食譜,適合初學者和經驗豐富的開發者。本版新增有關文檔和風格、使用 Matplotlib 和 Pyplot 的數據視覺化,以及使用 Poetry 和 Anaconda 等工具的高級依賴性管理技術。透過實用範例和詳細解釋,本食譜幫助開發者解決現實問題,優化代碼,並掌握最新的 Python 特性。

您將學到的內容:
- 精通核心 Python 數據結構、算法和設計模式
- 實現面向對象的設計和函數式編程特性
- 使用類型匹配和註解來創建更具表達力的程式
- 使用 Matplotlib 和 Pyplot 創建有用的數據視覺化
- 有效管理項目依賴性和虛擬環境
- 遵循最佳代碼風格和測試實踐
- 為您的項目創建清晰且可靠的文檔

本書適合對象:
這本 Python 書籍適合網頁開發者、程式設計師、企業程式設計師、工程師和大數據科學家。如果您是初學者,本書提供有用的細節和設計模式來學習 Python。如果您有經驗,則能擴展您的知識基礎。對 Python 編程的基本知識和基本編程原則的了解將會有所幫助。

目錄:
- 數字、字串和元組
- 語句和語法
- 函數定義
- 內建數據結構 第 1 部分:列表和集合
- 內建數據結構 第 2 部分:字典
- 用戶輸入和輸出
- 類和物件的基本知識
- 更高級的類設計
- 函數式編程特性
- 類型匹配和註解
- 輸入/輸出、物理格式和邏輯佈局
- 使用 Jupyter Lab 的圖形和視覺化
- 應用集成:配置
- 應用集成:組合
- 測試
- 依賴性和虛擬環境
- 文檔和風格