Learning Python, 5/e (Paperback)

Mark Lutz

買這商品的人也買了...

相關主題

商品描述

Get a comprehensive, in-depth introduction to the core Python language with this hands-on book. Based on author Mark Lutz’s popular training course, this updated fifth edition will help you quickly write efficient, high-quality code with Python. It’s an ideal way to begin, whether you’re new to programming or a professional developer versed in other languages.

Complete with quizzes, exercises, and helpful illustrations, this easy-to-follow, self-paced tutorial gets you started with both Python 2.7 and 3.3— the latest releases in the 3.X and 2.X lines—plus all other releases in common use today. You’ll also learn some advanced language features that recently have become more common in Python code.

  • Explore Python’s major built-in object types such as numbers, lists, and dictionaries
  • Create and process objects with Python statements, and learn Python’s general syntax model
  • Use functions to avoid code redundancy and package code for reuse
  • Organize statements, functions, and other tools into larger components with modules
  • Dive into classes: Python’s object-oriented programming tool for structuring code
  • Write large programs with Python’s exception-handling model and development tools
  • Learn advanced Python tools, including decorators, descriptors, metaclasses, and Unicode processing

商品描述(中文翻譯)

這本實用書籍提供了全面且深入的Python核心語言介紹。作者Mark Lutz根據他受歡迎的培訓課程編寫了這本更新的第五版,將幫助您快速使用Python編寫高效且高品質的程式碼。無論您是新手還是熟悉其他程式語言的專業開發人員,這都是一個理想的入門方式。

這本易於理解、自學的教程配有測驗、練習和有用的插圖,讓您可以開始使用Python 2.7和3.3這兩個最新版本,以及當今常用的所有其他版本。您還將學習一些在Python程式碼中越來越常見的高級語言特性。

本書內容包括:
- 探索Python的主要內建物件類型,如數字、列表和字典
- 使用Python語句創建和處理物件,並學習Python的一般語法模型
- 使用函數避免程式碼冗余,並將程式碼封裝為可重用的套件
- 將語句、函數和其他工具組織成更大的組件,使用模組
- 深入研究類別:Python的面向對象編程工具,用於結構化程式碼
- 使用Python的異常處理模型和開發工具編寫大型程式
- 學習高級Python工具,包括裝飾器、描述符、元類和Unicode處理

這本書將幫助您建立堅實的Python基礎,並提供您在開發中使用Python的技能和知識。無論您是初學者還是有經驗的開發人員,這本書都將成為您學習和掌握Python的重要資源。