وبلاگ بلیان

Python GUI Programming - A Complete Reference Guide : Develop Responsive and Powerful GUI Applications with PyQt and Tkinter

معرفی کتاب «Python GUI Programming - A Complete Reference Guide : Develop Responsive and Powerful GUI Applications with PyQt and Tkinter» نوشتهٔ Harwani, B. M.;Moore, Alan، منتشرشده توسط نشر Packt Publishing در سال 2019. این کتاب در 5 صفحه، فرمت epub، زبان انگلیسی ارائه شده است. «Python GUI Programming - A Complete Reference Guide : Develop Responsive and Powerful GUI Applications with PyQt and Tkinter» در دستهٔ بدون دسته‌بندی قرار دارد.

This Learning Path guides you through every concept necessary to create fully functional GUI applications using PyQt and Tkinter with only a few lines of code. You'll learn to design and build GUIs that are functional, appealing, and user-friendly using the powerful combination of Python and its GUI frameworks.;Cover; FM; Copyright; About Packt; Contributors; Table of Contents; Preface; Chapter 1: Introduction to Tkinter; Introducing Tkinter and Tk; Choosing Tkinter; Installing Tkinter; Installing Python 3 on Windows; Installing Python 3 on macOS; Installing Python 3 and Tkinter on Linux; Introducing IDLE; Using the shell mode of IDLE; Using the editor mode of IDLE; IDLE as a Tkinter example; Creating a Tkinter Hello World; Creating a better Hello World Tkinter; Summary; Chapter 2: Designing GUI Applications with Tkinter; A problem at ABQ AgriLabs; Assessing the problem Explore Pythons GUI frameworks and create visually stunning and feature-rich applications Key Features Integrate stunning data visualizations using Tkinter Canvas and Matplotlib Understand the basics of 2D and 3D animation in GUI applications Explore PyQts powerful features to easily design and customize your GUI applications Book Description A responsive graphical user interface (GUI) helps you interact with your application, improves user experience, and enhances the efficiency of your applications. With Python, youll have access to elaborate GUI frameworks that you can use to build interactive GUIs that stand apart from the rest. This Learning Path begins by introducing you to Tkinter and PyQt, before guiding you through the application development process. As you expand your GUI by adding more widgets, you'll work with networks, databases, and graphical libraries that enhance its functionality. You'll also learn how to connect to external databases and network resources, test your code, and maximize performance using asynchronous programming. In later chapters, you'll understand how to use the cross-platform features of Tkinter and Qt5 to maintain compatibility across platforms. Youll be able to mimic the platform-native look and feel, and build executables for deployment across popular computing platforms. By the end of this Learning Path, you'll have the skills and confidence to design and build high-end GUI applications that can solve real-world problems. This Learning Path includes content from the following Packt products: Python GUI Programming with Tkinter by Alan D. Moore Qt5 Python GUI Programming Cookbook by B. M. Harwani What you will learn Visualize graphs in real time with Tkinters animation capabilities Use PostgreSQL authentication to ensure data security for your application Write unit tests to avoid regression when updating code Handle different signals generated on mouse clicks using QSpinBox and sliders Employ network concepts, internet browsing, and Google Maps in UI Use graphics rendering to implement animations in your GUI Who this book is for If youre an intermediate Python programmer looking to enhance your coding skills by writing powerful GUIs in Python using PyQT and Tkinter, this is an ideal Learning Path for you. A strong understanding of the Python language is a must to grasp the concepts explained in this book. Table of Contents Introduction to Tkinter Designing GUI Applications with Tkinter Creating Basic Forms with Tkinter and ttk Widgets Reducing User Error with Validation and Automation Planning for the Expansion of Our Application Creating Menus with Menu and Tkinter Dialogs Navigating Records with Treeview Improving the Look with Styles and Themes Creating Automated Tests with unittest Improving Data Storage with SQL Connecting to the Cloud Visualizing Data Using the Canvas Widget Creating a User Interface with Qt Components Event Handling - Signals and Slots Understanding OOP Concepts Understanding Dialogs Understanding Layouts Networking and Managing Large Documents Dat Cover FM Copyright About Packt Contributors Table of Contents Preface Chapter 1: Introduction to Tkinter Introducing Tkinter and Tk Choosing Tkinter Installing Tkinter Installing Python 3 on Windows Installing Python 3 on macOS Installing Python 3 and Tkinter on Linux Introducing IDLE Using the shell mode of IDLE Using the editor mode of IDLE IDLE as a Tkinter example Creating a Tkinter Hello World Creating a better Hello World Tkinter Summary Chapter 2: Designing GUI Applications with Tkinter A problem at ABQ AgriLabs Assessing the problem Gathering information about the problemWhat you found out Information about the data being collected Information about the users of the application Documenting specification requirements Contents of a simple specification Writing the ABQ data entry program specification Designing the application Exploring Tkinter input widgets Grouping our fields Laying out the form Laying out the application Summary Chapter 3: Creating Basic Forms with Tkinter and ttk Widgets Evaluating our technology choices Choosing a technology Exploring Tkinter widgets The Entry widget The Spinbox widget The Combobox widgetThe Checkbutton widget The Text widget The Button widget The LabelFrame widget Implementing the application Saving some time with a LabelInput class Building the form Adding LabelFrame and other widgets Retrieving data from our form Resetting our form Building our application class Saving to CSV Finishing and testing Summary Chapter 4: Reducing User Error with Validation and Automation Validating user input Strategies to prevent data errors Validation in Tkinter Creating a DateEntry widget Implementing validated widgets in our form Exploiting the power of multiple inheritanceA validating mixin class Building our widgets Requiring data A Date widget A better Combobox widget A range-limited Spinbox widget Dynamically adjusting the Spinbox range Updating our form Displaying errors Preventing form submission on error Automating input Inserting a date Automating Lab, Time, and Technician Summary Chapter 5: Planning for the Expansion of Our Application Separating concerns The MVC pattern What is a model? What is a view? What is a controller? Why complicate our design? Structuring our application directory Basic directory structureThe abq_data_entry.py file The README.rst file ReStructuredText Populating the docs folder Making a Python package Splitting our application into multiple files Creating the models module Moving the widgets Moving the views Removing redundancy in our view logic Creating the application file Running the application Using version control software A super-quick guide to using Git Initializing and configuring a Git repository Adding and committing code Viewing and using our commits Summary Chapter 6: Creating Menus with Menu and Tkinter Dialogs BExplore Python's GUI frameworks and create visually stunning and feature-rich applications /b h4Key Features/h4 ulliIntegrate stunning data visualizations using Tkinter Canvas and Matplotlib /li liUnderstand the basics of 2D and 3D animation in GUI applications /li liExplore PyQt's powerful features to easily design and customize your GUI applications/li/ul h4Book Description/h4 A responsive graphical user interface (GUI) helps you interact with your application, improves user experience, and enhances the efficiency of your applications. With Python, you'll have access to elaborate GUI frameworks that you can use to build interactive GUIs that stand apart from the rest. This Learning Path begins by introducing you to Tkinter and PyQt, before guiding you through the application development process. As you expand your GUI by adding more widgets, you'll work with networks, databases, and graphical libraries that enhance its functionality. You'll also learn how to connect to external databases and network resources, test your code, and maximize performance using asynchronous programming. In later chapters, you'll understand how to use the cross-platform features of Tkinter and Qt5 to maintain compatibility across platforms. You'll be able to mimic the platform-native look and feel, and build executables for deployment across popular computing platforms. By the end of this Learning Path, you'll have the skills and confidence to design and build high-end GUI applications that can solve real-world problems. This Learning Path includes content from the following Packt products: ul liPython GUI Programming with Tkinter by Alan D. Moore/li liQt5 Python GUI Programming Cookbook by B. M. Harwani/li /ul h4What you will learn/h4 ulliVisualize graphs in real time with Tkinter's animation capabilities /li liUse PostgreSQL authentication to ensure data security for your application /li liWrite unit tests to avoid regression when updating code /li liHandle different signals generated on mouse clicks using QSpinBox and sliders /li liEmploy network concepts, internet browsing, and Google Maps in UI /li liUse graphics rendering to implement animations in your GUI /li /ul h4Who this book is for/h4 If you're an intermediate Python programmer looking to enhance your coding skills by writing powerful GUIs in Python using PyQT and Tkinter, this is an ideal Learning Path for you. A strong understanding of the Python language is a must to grasp the concepts explained in this book
دانلود کتاب Python GUI Programming - A Complete Reference Guide : Develop Responsive and Powerful GUI Applications with PyQt and Tkinter