QCoreApplication::exec: The event loop is already running error in pyqt

Printable View