Jul-07-2020, 03:51 PM
If you just want to monitor the contents of a dictionary in a program and you don't want to make many changes to the program and this is maybe only for debugging or something, I would write the dictionary to a json file. You could make a special dictionary that logs changes, or you could set up a timer to periodically write the dictionary. Provide a way in your program tor turn the logging on and off.
Write a separate program to display the contents of the json file.. This way you don't have to tack on tkinter just to do something you aren't even interested in doing.
Write a separate program to display the contents of the json file.. This way you don't have to tack on tkinter just to do something you aren't even interested in doing.