I am trying to make an antivirus application but I met some issue. And Tkinter window says (not responding) but code is running. I wanted to use threading, but firstly it's not convenient, secondly it doesn't work.I don’t know how to make it so that I can see the window and at the same time the code works. the window stops working after Get Colors In Image is run.
My code:
root=Tk()
root.geometry(‘100x100’)
for i in range(100):
print('hello '+str(i))