Chapter 9. Extending Our GUI with the wxPython Library

In this chapter, we will enhance our Python GUI by using the wxPython library.

  • How to install the wxPython library
  • How to create our GUI in wxPython
  • Quickly adding controls using wxPython
  • Trying to embed a main wxPython app in a main tkinter app
  • Trying to embed our tkinter GUI code into wxPython
  • How to use Python to control two different GUI frameworks
  • How to communicate between the two connected GUIs

Introduction

In this chapter, we will introduce another Python GUI toolkit that currently does not ship with Python. It is called wxPython.

There are two versions of this library. The original is called Classic while the newest is called by its development project code name, Phoenix.

In this book, we are ...

Get Python GUI Programming Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.