if XX:in pet. Py, wrote out method, click the exit button
App=QApplication (sys. Argv)
P=pet. DesktopPet () # import pet come in a py files, DesktopPet is a Class Class
Sys. Exit (app. Exec_ ())
def quit (self) :
The self. The close ()
Sys. The exit ()
This will end the entire program, I want to achieve is totally out of widgets, then return to the main program, the main program very common
Ask everybody to help me have a look, give me some advice!!!!!