I am making a AI assistant and I ran into a problem.
I have written code for the actual AI in a python file named JARVIS.py. But the GUI for the AI is written in another python file.To compile them, i have made a new .py file named JARVIS_Final.py. Now I have made a button on the gui for closing the entire program. The code for closing is -
self.ui.pushButton.clicked.connect(self.close)
But this doesn't stop everything, it just closes the gui, not the actual AI. What should i do?
The code - https://drive.google.com/file/d/1Tj-133LDw9q-oNQp7vpqivwjR4MkCdmJ/view?usp=sharing
I use Python 3.9, windows machine and i used QTdesiner for the GUI. Sorry for my bad english.