python: Appending a value to a list outside the class, function with append also outside the class, but function is called within a class
问题 I am very new to python and I've been trying to do this code where i use a tkinter button command to run a function, it works but the append() is not executing, meaning it does not append to the list. The list and the function containing the append is outside the class and is then classed within a class through the use of tkinter button command I've tried putting the function inside the class, it works but the append is not adding into the list again. import tkinter as tk from threading