Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Python GUI Programming Cookbook. - Third Edition

You're reading from  Python GUI Programming Cookbook. - Third Edition

Product type Book
Published in Oct 2019
Publisher
ISBN-13 9781838827540
Pages 486 pages
Edition 3rd Edition
Languages
Author (1):
Burkhard Meier Burkhard Meier
Profile icon Burkhard Meier

Table of Contents (13) Chapters

Preface 1. Creating the GUI Form and Adding Widgets 2. Layout Management 3. Look and Feel Customization 4. Data and Classes 5. Matplotlib Charts 6. Threads and Networking 7. Storing Data in Our MySQL Database via Our GUI 8. Internationalization and Testing 9. Extending Our GUI with the wxPython Library 10. Building GUIs with PyQt5 11. Best Practices 12. Other Books You May Enjoy

Extending Our GUI with the wxPython Library

In this chapter, we will introduce another Python GUI toolkit that 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, which is Phoenix.

The older Classic version does not work with Python 3.x, and we will not look further into this version but instead concentrate on the Phoenix software version.

In this book, we are solely programming using Python 3.7 and later, and because the new Phoenix project is also aimed at supporting Python 3.7 and later, this is the version of wxPython we will use in this chapter.

First, we will install the framework. Then, we will create a simple wxPython GUI, and after that, we will try to connect the tkinter-based GUIs we developed in this book with the new wxPython library...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}