Python - How would I use a single function to get information about the frame in Tkinter Python - How would I use a single function to get information about the frame in Tkinter tkinter tkinter

Python - How would I use a single function to get information about the frame in Tkinter


Take a look at this . It's a small project I wrote in python . I have a function that checks the status of each call . I call that function after each function has been executed.

class Messengers:    def __init__(self):        self.box = tkMessageBox    def successer(self):        self.box.showinfo("ImageR Success", "Done YO! Go run a test :)")    def failure(self):        self.box.showerror('ImageR Failure', 'Yo you broke me!')

The code is here https://github.com/jaytarang92/imager . I use subprocess.check_ouput to make sure the call was done correctly.