How can I display a Tkinter input dialog from within an external function?
My project started without thinking of integration with any GUI, but now I’m trying to implement a simple interface for the classes and functions I already have. My problem is that some of the functions that are called during the execution of my code received user inputs from the terminal, using Python’s input
. I tried to replicate that with a pop-up window in the modified tkinter I’m using (namely customtkinter) and it worked in my tests, however, when I integrated the code snippet in my project it stopped working as I was imagining.