Book Image

Python GUI Programming Cookbook

By : Burkhard Meier
Book Image

Python GUI Programming Cookbook

By: Burkhard Meier

Overview of this book

Table of Contents (18 chapters)
Python GUI Programming Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 8. Internationalization and Testing

In this chapter, we will internationalize and test our Python GUI covering the following recipes:

  • Displaying widget text in different languages

  • Changing the entire GUI language all at once

  • Localizing the GUI

  • Preparing the GUI for internationalization

  • How to design a GUI in an agile fashion

  • Do we need to test the GUI code?

  • Setting debug watches

  • Configuring different debug output levels

  • Creating self-testing code using Python's __main__ section

  • Creating robust GUIs using unit tests

  • How to write unit tests using the Eclipse PyDev IDE