Apr-24-2021, 08:57 AM
Why can't you move the function out of where it is? Because it's a closure? Just have the function take the things it needs as arguments, rather than expecting them to be in the enclosing scope.
[Tkinter] Redirecting all print statements from all functions inside a class to Tkinter
|
|
Messages In This Thread |
Redirecting all print statements from all functions inside a class to Tkinter - by Anan - Apr-24-2021, 04:39 AM
RE: Redirecting all print statements from all functions inside a class to Tkinter - by ndc85430 - Apr-24-2021, 08:57 AM
|