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 11. Best Practices

In this chapter, we will explore best practices related to our Python GUI.

  • Avoiding spaghetti code

  • Using __init__ to connect modules

  • Mixing fall-down and OOP coding

  • Using a code naming convention

  • When not to use OOP

  • How to use design patterns successfully

  • Avoiding complexity