Python 3 Object-Oriented Programming, 2/e (Paperback)
Dusty Phillips
- 出版商: Packt Publishing
- 出版日期: 2015-08-22
- 售價: $2,180
- 貴賓價: 9.5 折 $2,071
- 語言: 英文
- 頁數: 460
- 裝訂: Paperback
- ISBN: 1784398780
- ISBN-13: 9781784398781
-
相關分類:
Python、程式語言、Object-oriented
-
相關翻譯:
Python 3 面向對象編程, 2/e (簡中版)
Python 3 物件導向程式設計, 2/e (繁中版)
-
其他版本:
Python 3 Object-Oriented Programming: Build robust and maintainable software with object-oriented design patterns in Python 3.8, 3rd Edition
買這商品的人也買了...
-
$480$379 -
$2,898Agile Principles, Patterns, and Practices in C# (Hardcover)
-
$1,100$1,045 -
$780$663 -
$780$616 -
$580$452 -
$400$380 -
$360$281 -
$613Black Hat Python: Python Programming for Hackers and Pentesters (Paperback)
-
$560Python 自然語言處理 (Natural Language Processing with Python)
-
$281程序員修煉之道 :從小工到專家 (The Pragmatic Programmer: From Journeyman to Master)
-
$650$553 -
$780$616 -
$360$284 -
$480$408 -
$860$731 -
$1,800$1,710 -
$400$316 -
$590$502 -
$500$395 -
$690$538 -
$580$458 -
$680$530 -
$420$332 -
$3,150$2,993
相關主題
商品描述
Unleash the power of Python 3 objects
About This Book
- Stop writing scripts and start architecting programs
- Learn the latest Python syntax and libraries
- A practical, hands-on tutorial that teaches you all about abstract design patterns and how to implement them in Python 3
Who This Book Is For
If you're new to object-oriented programming techniques, or if you have basic Python skills and wish to learn in depth how and when to correctly apply object-oriented programming in Python to design software, this is the book for you.
What You Will Learn
- Implement objects in Python by creating classes and defining methods
- Separate related objects into a taxonomy of classes and describe the properties and behaviors of those objects via the class interface
- Extend class functionality using inheritance
- Understand when to use object-oriented features, and more importantly when not to use them
- Discover what design patterns are and why they are different in Python
- Uncover the simplicity of unit testing and why it's so important in Python
- Grasp common concurrency techniques and pitfalls in Python 3
- Exploit object-oriented programming in key Python technologies such as Kivy and Django.
- Object-oriented programming concurrently with asyncio
In Detail
Python 3 is more versatile and easier to use than ever. It runs on all major platforms in a huge array of use cases. Coding in Python minimizes development time and increases productivity in comparison to other languages. Clean, maintainable code is easy to both read and write using Python's clear, concise syntax.
Object-oriented programming is a popular design paradigm in which data and behaviors are encapsulated in such a way that they can be manipulated together. Many modern programming languages utilize the powerful concepts behind object-oriented programming and Python is no exception.
Starting with a detailed analysis of object-oriented analysis and design, you will use the Python programming language to clearly grasp key concepts from the object-oriented paradigm. This book fully explains classes, data encapsulation, inheritance, polymorphism, abstraction, and exceptions with an emphasis on when you can use each principle to develop well-designed software.
You'll get an in-depth analysis of many common object-oriented design patterns that are more suitable to Python's unique style. This book will not just teach Python syntax, but will also build your confidence in how to program.
You will also learn how to create maintainable applications by studying higher level design patterns. Following this, you'll learn the complexities of string and file manipulation, and how Python distinguishes between binary and textual data. Not one, but two very powerful automated testing systems will be introduced in the book. After you discover the joy of unit testing and just how easy it can be, you'll study higher level libraries such as database connectors and GUI toolkits and learn how they uniquely apply object-oriented principles. You'll learn how these principles will allow you to make greater use of key members of the Python eco-system such as Django and Kivy.
This new edition includes all the topics that made Python 3 Object-oriented Programming an instant Packt classic. It's also packed with updated content to reflect recent changes in the core Python library and covers modern third-party packages that were not available on the Python 3 platform when the book was first published.
Style and approach
Throughout the book you will learn key object-oriented programming techniques demonstrated by comprehensive case studies in the context of a larger project.
商品描述(中文翻譯)
釋出 Python 3 物件的力量
關於本書
- 停止撰寫腳本,開始架構程式
- 學習最新的 Python 語法和函式庫
- 一本實用的實作教學,教你如何在 Python 3 中實現抽象設計模式
適合閱讀對象
如果你對物件導向程式設計技巧感到陌生,或者你具備基本的 Python 技能,並希望深入了解如何在 Python 中正確應用物件導向程式設計來設計軟體,這本書就是為你而寫的。
你將學到什麼
- 通過建立類別和定義方法,在 Python 中實現物件
- 將相關的物件分類為類別的分類系統,並通過類別介面描述這些物件的屬性和行為
- 使用繼承擴展類別功能
- 理解何時應該使用物件導向特性,更重要的是何時不應該使用
- 了解設計模式是什麼,以及為什麼在 Python 中與眾不同
- 探索單元測試的簡單性以及在 Python 中的重要性
- 掌握 Python 3 中常見的並發技術和陷阱
- 在關鍵的 Python 技術(如 Kivy 和 Django)中利用物件導向程式設計
- 同時使用 asyncio 進行物件導向程式設計
詳細內容
Python 3 比以往更加多功能且更易於使用。它在各大平台上運行,應用範圍廣泛。使用 Python 編程相較於其他語言,可以減少開發時間並提高生產力。Python 的清晰、簡潔的語法使得編寫和閱讀可維護的程式碼變得容易。
物件導向程式設計是一種流行的設計範式,其中資料和行為被封裝在一起,可以一起操作。許多現代程式語言都利用物件導向程式設計的強大概念,Python 也不例外。
從詳細的物件導向分析和設計分析開始,你將使用 Python 程式語言清楚地掌握物件導向範式的關鍵概念。本書完整解釋了類別、資料封裝、繼承、多型、抽象和例外處理,並強調了每個原則在開發設計良好的軟體時的適用性。
你將深入研究許多常見的物件導向設計模式,這些模式更適合 Python 的獨特風格。本書不僅教授 Python 語法,還會建立你的程式設計信心。
你還將學習如何通過研究更高層次的設計模式來創建可維護的應用程式。接著,你將學習字串和檔案操作的複雜性,以及 Python 如何區分二進制和文字資料。本書將介紹兩個非常強大的自動化測試系統。在你發現單元測試的樂趣以及它有多麼容易之後,你將學習更高層次的函式庫,如資料庫連接器和 GUI 工具包,並學習它們如何獨特地應用物件導向原則。你將學習這些原則如何讓你更好地使用 Python 生態系統的關鍵成員,如 Django 和 Kivy。
這個新版本包含了使《Python 3 物件導向程式設計》成為 Packt 經典之作的所有主題。它還包含了更新的內容,以反映核心 Python 函式庫的最新變化,並涵蓋了在該書首次出版時 Python 3 平台上尚不可用的現代第三方套件。
風格和方法
在整本書中,你將通過在更大的專案背景下進行全面的案例研究,學習關鍵的物件導向程式設計技巧。