#! /usr/bin/env python3 # -*- coding: utf-8 -*- from engine import start from qtgui import mainwindow #which in turn imports the engine and starts the engine mainwindow.MainWindow() #Program is over. Code here does not get executed.