Tkinter GUI Application Development Blueprints
暫譯: Tkinter GUI 應用程式開發藍圖
Bhaskar Chaudhary
- 出版商: Packt Publishing
- 出版日期: 2015-11-30
- 售價: $2,000
- 貴賓價: 9.5 折 $1,900
- 語言: 英文
- 頁數: 340
- 裝訂: Paperback
- ISBN: 1785889737
- ISBN-13: 9781785889738
-
相關分類:
使用者介面 UI
海外代購書籍(需單獨結帳)
相關主題
商品描述
Master GUI programming in Tkinter as you design, implement, and deliver ten real-world applications from start to finish
About This Book
- Conceptualize and build state-of-art GUI applications with Tkinter
- Tackle the complexity of just about any size GUI application with a structured and scalable approach
- A project-based, practical guide to get hands-on into Tkinter GUI development
Who This Book Is For
Software developers, scientists, researchers, engineers, students, or programming hobbyists with basic familiarity in Python will find this book interesting and informative. People familiar with basic programming constructs in other programming language can also catch up with some brief reading on Python. No GUI programming experience is expected.
What You Will Learn
- Get to know the basic concepts of GUI programming, such as Tkinter top-level widgets, geometry management, event handling, using callbacks, custom styling, and dialogs
- Create apps that can be scaled in size or complexity without breaking down the core
- Write your own GUI framework for maximum code reuse
- Build apps using both procedural and OOP styles, understanding the strengths and limitations of both styles
- Learn to structure and build large GUI applications based on Model-View-Controller (MVC) architecture
- Build multithreaded and database-driven apps
- Create apps that leverage resources from the network
- Learn basics of 2D and 3D animation in GUI applications
- Develop apps that can persist application data with object serialization and tools such as configparser
In Detail
Tkinter is the built-in GUI package that comes with standard Python distributions. It is a cross-platform package, which means you build once and deploy everywhere. It is simple to use and intuitive in nature, making it suitable for programmers and non-programmers alike.
This book will help you master the art of GUI programming. It delivers the bigger picture of GUI programming by building real-world, productive, and fun applications such as a text editor, drum machine, game of chess, media player, drawing application, chat application, screen saver, port scanner, and many more. In every project, you will build on the skills acquired in the previous project and gain more expertise.
You will learn to write multithreaded programs, network programs, database driven programs and more. You will also get to know the modern best practices involved in writing GUI apps. With its rich source of sample code, you can build upon the knowledge gained with this book and use it in your own projects in the discipline of your choice.
Style and approach
An easy-to-follow guide, full of hands-on examples of real-world GUI programs. The first chapter is a must read as it explains most of the things you need to get started with writing GUI programs with Tkinter. Each subsequent chapter is a stand-alone project that discusses some aspects of GUI programming in detail. These chapters can be read sequentially or randomly depending upon the readers experience with Python.
商品描述(中文翻譯)
**掌握 Tkinter 的 GUI 程式設計,從頭到尾設計、實作並交付十個真實世界的應用程式**
## 本書介紹
- 構思並建立最先進的 GUI 應用程式,使用 Tkinter
- 以結構化和可擴展的方法處理幾乎任何大小的 GUI 應用程式的複雜性
- 一本以專案為基礎的實用指南,讓您親手進入 Tkinter GUI 開發
## 本書適合誰
對於具有基本 Python 熟悉度的軟體開發人員、科學家、研究人員、工程師、學生或程式設計愛好者,本書將會是有趣且具啟發性的。對於熟悉其他程式語言基本程式結構的人,也可以透過簡短的閱讀來了解 Python。本書不要求具備 GUI 程式設計經驗。
## 您將學到什麼
- 了解 GUI 程式設計的基本概念,例如 Tkinter 的頂層小部件、幾何管理、事件處理、使用回呼、自訂樣式和對話框
- 創建可以在大小或複雜性上擴展的應用程式,而不會破壞核心功能
- 編寫自己的 GUI 框架以實現最大程度的程式碼重用
- 使用程序式和物件導向程式設計 (OOP) 風格構建應用程式,理解兩種風格的優勢和限制
- 學習如何基於模型-視圖-控制器 (MVC) 架構結構化和構建大型 GUI 應用程式
- 構建多執行緒和資料庫驅動的應用程式
- 創建利用網路資源的應用程式
- 學習 GUI 應用程式中的 2D 和 3D 動畫基礎
- 開發可以使用物件序列化和 configparser 等工具持久化應用程式數據的應用程式
## 詳細內容
Tkinter 是隨標準 Python 發行版附帶的內建 GUI 套件。它是一個跨平台的套件,這意味著您只需構建一次即可在任何地方部署。它簡單易用且直觀,適合程式設計師和非程式設計師。
本書將幫助您掌握 GUI 程式設計的藝術。它通過構建真實世界的生產性和有趣的應用程式,如文字編輯器、鼓機、國際象棋遊戲、媒體播放器、繪圖應用程式、聊天應用程式、螢幕保護程式、端口掃描器等,提供了 GUI 程式設計的全貌。在每個專案中,您將在前一個專案中獲得的技能基礎上進行構建,並獲得更多專業知識。
您將學會編寫多執行緒程式、網路程式、資料庫驅動程式等。您還將了解編寫 GUI 應用程式的現代最佳實踐。憑藉豐富的範例程式碼來源,您可以在本書中獲得的知識基礎上進行擴展,並在您選擇的領域中使用它於自己的專案。
## 風格與方法
這是一本易於跟隨的指南,充滿了真實世界 GUI 程式的實作範例。第一章是必讀的,因為它解釋了您開始使用 Tkinter 編寫 GUI 程式所需的大部分內容。隨後的每一章都是一個獨立的專案,詳細討論了 GUI 程式設計的某些方面。這些章節可以根據讀者對 Python 的經驗按順序或隨意閱讀。