Learn how to quickly develop Python graphical user interface (GUI) apps using the wxPython library, which brings the wxWidgets capability to Python, and the wxGlade tool.
Overview
Syllabus
Introduction
- Rapid development of Python GUI apps with wxGlade
- What you should know
- Understanding widgets
- Developing a cybersecurity compliance app
- Preparing the development environment
- Accessing Excel files with openpyxl
- Introducing wxPython
- Class-based skeleton
- Labels and buttons
- More on buttons
- Checkboxes and radio buttons
- Text entry controls
- Use spinners to set values
- Create lists to select from
- Use combo boxes
- Compose a menu bar
- Challenge
- Solution
- What is wxGlade?
- Design the application user interface
- Construct the application skeleton
- Configure the listbox
- The application skeleton
- Construct the audit tab sheet
- Challenge
- Solution
- Generate code for the app
- Add Excel sheetnames to a listbox
- Link an edit field to a data source
- Add event handlers in wxPython
- Complete the main tab sheet
- Build and using tree controls
- Link edit fields to the tree
- Save data into the worksheet
- Review Python RAD with wxGlade
- What's next
Taught by
Malcolm Shore