Learn Python Programming - Fourth Edition: A Comprehensive, Up-to-Date, and Definitive Guide to Learning Python
暫譯: 學習 Python 程式設計(第四版):全面、最新且權威的 Python 學習指南

Romano, Fabrizio, Kruger, Heinrich

  • 出版商: Packt Publishing
  • 出版日期: 2024-11-29
  • 售價: $1,690
  • 貴賓價: 9.5$1,606
  • 語言: 英文
  • 頁數: 616
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1835882943
  • ISBN-13: 9781835882948
  • 相關分類: Python程式語言
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

This edition offers updated content covering Python 3.9 to 3.12, new chapters on type hinting and CLI applications, and expanded practical examples, making it the ideal resource for both new and experienced Python programmers

Key Features:

- Create and deploy APIs and CLI applications, leveraging Python's strengths in scripting and automation 

- Stay current with the latest features and improvements in Python, including pattern matching and the latest exception handling syntax

- Engage with new real-world examples and projects, including competitive programming problems, to solidify your understanding of Python 

Book Description:

Learn Python Programming, Fourth Edition provides a comprehensive, up-to-date introduction to Python programming, covering fundamental concepts and practical applications. This edition has been meticulously updated to include the latest features from Python versions 3.9 to 3.12, new chapters on type hinting and CLI applications, and updated examples reflecting modern Python web development practices. The Python book empowers you to take ownership of writing your software and become independent in fetching the resources you need. You will have a clear idea of where to go and how to build on what you have learned from the book.

Through examples, the book explores a wide range of applications and concludes by building real-world Python projects based on the concepts you have learned. This Python book offers a clear and practical guide to mastering Python and applying it effectively in various domains such as data science, web development, and automation.

What You Will Learn:

- Install and set up Python on Windows, Mac, and Linux

- Write Elegant, Reusable, and Efficient Code

- Avoid Common Pitfalls like duplication and over-engineering

- Use Functional and Object-Oriented Programming Approaches appropriately

- Build APIs with FastAPI and program CLI applications

- Understand Data Persistence and Cryptography for secure applications

- Manipulate Data Efficiently using Python's built-in data structures

- Package Your Applications for distribution via the Python Package Index (PyPI)

- Solve Competitive Programming Problems with Python

Who this book is for:

This Python programming book is for everyone who wants to learn Python from scratch, as well as experienced programmers looking for a reference book. Prior knowledge of basic programming concepts will help you follow along, but it's not a prerequisite

Table of Contents

- A Gentle Introduction to Python

- Built In Data Types

- Conditionals and Iterations

- Functions, the Building Blocks of Code

- Comprehensions and Generators

- OOP, Decorators, and Iterators

- Exceptions and Context Managers

- Files and Data Persistence

- Cryptography and Tokens

- Testing

- Debugging and Profiling

- Introduction to Type Hinting

- Data Science in Brief

- Introduction to API Development

- CLI Applications

- Packaging Python Applications

- Programming Challenges

商品描述(中文翻譯)

這個版本提供了涵蓋 Python 3.9 到 3.12 的更新內容,新增了有關類型提示和 CLI 應用程式的章節,並擴展了實用範例,使其成為新手和經驗豐富的 Python 程式設計師的理想資源。

主要特點:
- 利用 Python 在腳本和自動化方面的優勢,創建和部署 API 及 CLI 應用程式
- 了解 Python 的最新功能和改進,包括模式匹配和最新的例外處理語法
- 參與新的實際案例和專案,包括競賽程式設計問題,以鞏固您對 Python 的理解

書籍描述:
《學習 Python 程式設計(第四版)》提供了全面且最新的 Python 程式設計入門,涵蓋基本概念和實用應用。本版經過精心更新,包含 Python 版本 3.9 到 3.12 的最新功能、新的類型提示和 CLI 應用程式章節,以及反映現代 Python 網頁開發實踐的更新範例。這本 Python 書籍使您能夠掌握編寫軟體的能力,並在獲取所需資源方面變得獨立。您將清楚知道接下來該去哪裡,以及如何在書中學到的知識上進行擴展。

透過範例,本書探索了各種應用,並以基於您所學概念的實際 Python 專案作結。本書提供了一個清晰且實用的指南,幫助您掌握 Python 並有效應用於數據科學、網頁開發和自動化等各個領域。

您將學到的內容:
- 在 Windows、Mac 和 Linux 上安裝和設置 Python
- 編寫優雅、可重用且高效的程式碼
- 避免常見的陷阱,如重複和過度設計
- 適當使用函數式和物件導向程式設計方法
- 使用 FastAPI 建立 API 並編程 CLI 應用程式
- 理解數據持久性和加密技術以確保應用程式安全
- 使用 Python 的內建數據結構高效地操作數據
- 將您的應用程式打包以便通過 Python Package Index (PyPI) 發佈
- 使用 Python 解決競賽程式設計問題

本書適合對象:
這本 Python 程式設計書籍適合所有想從零開始學習 Python 的人,以及尋找參考書的經驗豐富的程式設計師。對基本程式設計概念的先前了解將有助於您跟上,但並不是必需的。

目錄:
- Python 的簡介
- 內建數據類型
- 條件語句和迭代
- 函數:程式碼的基石
- 理解式和生成器
- 物件導向程式設計、裝飾器和迭代器
- 例外和上下文管理器
- 檔案和數據持久性
- 加密技術和令牌
- 測試
- 除錯和性能分析
- 類型提示簡介
- 數據科學簡介
- API 開發簡介
- CLI 應用程式
- Python 應用程式打包
- 程式設計挑戰