Rapid Application Development with Python

Rapid Application Development with Python

2h 9mIntermediate2020-08-24

Authors

Malcolm Shore

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

Introduction

  • Rapid development of Python GUI apps with wxGlade
  • What you should know

Setting the Scene

  • Understanding widgets
  • Developing a cybersecurity compliance app
  • Preparing the development environment
  • Accessing Excel files with openpyxl

Using Widgets in wxPython

  • 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

Constructing the App with wxGlade

  • 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

Adding Functional Application Code

  • 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

Conclusion

  • What's next
80,000 Toman