Oreilly - Python GUI Programming Solutions
by Burkhard A. Meier | Released September 2016 | ISBN: 9781786465528
Over 80 object-oriented tasks to help you create mind-blowing GUIs in PythonAbout This VideoUse object-oriented programming to develop amazing GUIs in PythonCreate a working GUI project as a central resource to develop your Python GUIsPacked with easy-to-follow steps to help you develop code using the latest version of PythonIn DetailPython is a multi-domain, interpreted programming language. It is a widely used general-purpose, high-level programming language. It is often used as a scripting language because of its forgiving syntax and compatibility with a wide variety of different eco-systems. Its flexible syntax enables developers to write short scripts while at the same time being able to use object-oriented concepts to develop very large projects.This course follows a task-based approach to help you create beautiful and very effective GUIs with the least amount of code necessary. This course uses the simplest programming style, using the fewest lines of code to create a GUI in Python, and then advances to using object-oriented programming in later sections. If you are new to object-oriented programming (OOP), this video course will teach you how to take advantage of the OOP coding style in the context of creating GUIs written in Python.Throughout this course, you will develop an entire GUI application, building features into it and connecting the GUI to a database. In the later sections, you will explore additional Python GUI frameworks using best practices. You will also learn how to use threading to ensure your GUI doesn't go unresponsive.By the end of the course, you will be an expert in Python GUI programming and will be able to develop a common set of GUI applications. Show and hide more
- Chapter 1 : Creating the GUI Form and Adding Widgets
- Introduction to Python GUI 00:04:45
- Adding a Label to the GUI Form 00:02:44
- Creating Buttons and Text Box Widgets 00:04:35
- Exploring Widgets 00:05:56
- Adding Extra Features 00:09:02
- Adding Several Widgets in a Loop 00:03:17
- Chapter 2 : Layout Management
- Arranging Several Labels within a Label Frame 00:03:54
- Using Padding to Add Space Around Widgets 00:03:57
- Expanding the GUI Dynamically Using Widgets 00:05:24
- Aligning the GUI Widgets by Embedding Frames within Frames 00:06:15
- Creating Menu Bars 00:06:32
- Creating Tabbed Widgets 00:07:07
- Using the Grid Layout Manager 00:03:47
- Chapter 3 : Look and Feel Customization
- Creating Message Boxes 00:04:46
- Creating Independent Message Boxes 00:03:41
- Creating the Title and Icon of the Main Root Window 00:03:30
- Using a Spinbox Control 00:05:24
- Creating Tooltips and Using the Canvas Widget 00:07:01
- Chapter 4 : Data and Classes
- Using the StringVar() Type 00:08:14
- Using Module-Level Global Variables 00:05:27
- Improving the GUI by Coding in Classes 00:06:30
- Creating Reusable GUI Components 00:02:55
- Chapter 5 : Matplotlib Charts
- Creating Beautiful Charts Using Matplotlib 00:03:56
- Downloading Modules for Matplotlib 00:07:07
- Creating Our First Chart 00:02:14
- Placing Labels on Charts 00:05:11
- Giving the Chart a Legend 00:03:32
- Scaling Charts 00:02:56
- Adjusting the Scale Dynamically 00:05:01
- Chapter 6 : Threads and Networking
- Creating Multiple Threads 00:04:56
- Starting a Thread 00:04:57
- Stopping a Thread 00:04:18
- Using Queues 00:06:10
- Passing Queues among Different Modules 00:05:07
- Using Dialog Widgets to Copy Files to Your Network 00:09:17
- Using TCP/IP to Communicate via Networks 00:05:25
- Using URLOpen to Read Data from Websites 00:05:44
- Chapter 7 : Storing Data in Our MySQL Database via Our GUI
- Connecting to a MySQL Database from Python 00:06:34
- Configuring the MySQL Connection 00:07:24
- Designing the Python GUI Database 00:08:43
- Using the SQL INSERT Command 00:03:28
- Using the SQL UPDATE Command 00:03:17
- Using the SQL DELETE Command 00:05:54
- Chapter 8 : Internationalization and Testing
- Displaying Widget Text in Different Languages 00:05:48
- Changing the Entire GUI Language All at Once 00:04:42
- Localizing the GUI 00:06:56
- Preparing the GUI for Internationalization 00:04:09
- Designing a GUI in an Agile Fashion 00:05:06
- Do We Need to Test the GUI Code? 00:06:02
- Setting Debug Watches 00:06:46
- Configuring Different Debug Output Levels 00:04:28
- Creating Self-Testing Code Using Python's __main__ Section 00:06:02
- Creating Robust GUIs Using Unit Tests 00:05:34
- Writing Unit Tests Using the Eclipse PyDev IDE 00:07:47
- Chapter 9 : Extending Our GUI with the wxPython Library
- Installing the wxPython Library 00:05:36
- Creating Our GUI 00:04:00
- Adding Controls 00:07:17
- Embedding the tkinter and wxPython GUIs into Each Other 00:05:36
- Using Python to Control Two Different GUI Frameworks 00:04:04
- Communicating Between the Two Connected GUIs 00:05:56
- Chapter 10 : Creating Amazing 3D GUIs with PyOpenGL and Pyglet
- PyOpenGL Transforms Our GUI 00:06:28
- Our GUI in 3D 00:04:51
- Pyglet Transforms Our GUI More Easily Than PyOpenGL 00:04:41
- Creating a Slideshow Using tkinter 00:04:52
- Chapter 11 : Best Practices
- Avoiding Spaghetti Code 00:03:52
- Using __init__ to Connect Modules 00:06:26
- Mixing Fall-Down and OOP Coding 00:02:55
- When Not to Use OOP 00:02:20
- Using Design Patterns Successfully 00:02:57
- Avoiding Complexity 00:05:59
Show and hide more
TO MAC USERS: If RAR password doesn't work, use this archive program:
RAR Expander 0.8.5 Beta 4 and extract password protected files without error.
TO WIN USERS: If RAR password doesn't work, use this archive program:
Latest Winrar and extract password protected files without error.