O'Reilly logo

Python GUI Programming Cookbook by Burkhard A. Meier

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to create our GUI in wxPython

In this recipe, we will start to create our Python GUIs using the wxPython GUI toolkit.

We will first recreate several of the widgets we previously created using tkinter, which ships with Python.

Then, we will explore some of the widgets the wxPython GUI toolkit offers, which are harder to create using tkinter.

Getting ready

The previous recipe showed you how to install the correct version of wxPython that matches both your version of Python and the OS you are running.

How to do it...

A good place to start exploring the wxPython GUI toolkit is by going to the following URL: http://wxpython.org/Phoenix/docs/html/gallery.html

This webpage displays many wxPython widgets. By clicking on any of them, we are taken to their ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required