notifications

Dialog Boxes with Python

Dialog boxes are a commonly used GUI element to provide feedback to the user and also to prompt the user for information or to take an action. Some examples of common dialogs are:

  • A simple message: "Press OK to continue"
  • Ask for "OK or cancel"
  • Ask for "Yes, no or cancel"

We will look at several different methods for creating dialog boxes in Python including cross-platform options like tkinter and PyAutoGUI, as well as a couple Windows specific options.