I am trying to make a GUI(using tkinter) for checking the code using test cases. Just like you see in Competitive Programming Websites like Hackerrank , SPOJ , CodeForces etc.
Now I have somehow managed to print in the terminal for what test cases the code failed and for what the code passed.
But the catch is , I want to do the same in tkinter messageboxes.
My code runs in loop , so it checks each and every test cases and then prints out the result immediately rather than storing all the result in a list and checking them in the end.
So I want my Messagebox to also do the same i.e update everytime a test cases has been evaluated and show whether the test case was passed or not?
Is it possible to implement?
If you mean the messagebox module that comes with tkinter, then no. But you can easily make your own message boxes with the Toplevel widget, and those can do anything you want.
Is there a way to update the tkinter messageboxes live?