Rapid Application Development with Python
2h 9mIntermediate2020-08-24
Authors

Malcolm Shore
Cybersecurity Expert, Former Director of GCSB
Course details
Developing graphical user interfaces (GUIs) in Python traditionally involves a lot of manual coding. wxGlade, a GUI designer written in Python for the wxPython GUI toolkit, was designed to help simplify this process. In this course, learn how to quickly develop Python GUI apps using the wxPython library—which brings the wxWidgets capability to Python—and the wxGlade tool. To lend each concept a real-world context, instructor Malcom Shore steps through how to build a cybersecurity compliance app based on the NIST Cybersecurity Framework. Malcom begins by detailing how to create a simple wxPython application. He then shows how to construct a user interface for your application using wxGlade and add functional application code to put the finishing touches on your project.
Skills covered
Programming FoundationsPythonProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Rapid development of Python GUI apps with wxGlade
- 02 - What you should know
1. Setting the Scene
- 03 - Understanding widgets
- 04 - Developing a cybersecurity compliance app
- 05 - Preparing the development environment
- 06 - Accessing Excel files with openpyxl
2. Using Widgets in wxPython
- 07 - Introducing wxPython
- 08 - Class-based skeleton
- 09 - Labels and buttons
- 10 - More on buttons
- 11 - Checkboxes and radio buttons
- 12 - Text entry controls
- 13 - Use spinners to set values
- 14 - Create lists to select from
- 15 - Use combo boxes
- 16 - Compose a menu bar
- 17 - Challenge
- 18 - Solution
3. Constructing the App with wxGlade
- 19 - What is wxGlade
- 20 - Design the application user interface
- 21 - Construct the application skeleton
- 22 - Configure the listbox
- 23 - The application skeleton
- 24 - Construct the audit tab sheet
- 25 - Challenge
- 26 - Solution
4. Adding Functional Application Code
- 27 - Generate code for the app
- 28 - Add Excel sheetnames to a listbox
- 29 - Link an edit field to a data source
- 30 - Add event handlers in wxPython
- 31 - Complete the main tab sheet
- 32 - Build and using tree controls
- 33 - Link edit fields to the tree
- 34 - Save data into the worksheet
- 35 - Review Python RAD with wxGlade
Conclusion
- 36 - What's next