in

iHateThatIHadToDoThis

iHateThatIHadToDoThis | data-memes, database-memes, IT-memes | ProgrammerHumor.io
data-memes, database-memes, IT-memes | ProgrammerHumor.io

Content

def main(): Create and run the database migrations if needed checkdbO if Config.faker. enabled. value: populatedb Open the main window app Application () vi UiMainWindow () window AppPelu(ui) window.show() app.aboutToQuit.connect (lambda: window.onclose ()) app.exec () Close the main window window.close () I don’t like this, but I can’t figure out the proper way os.kill(os.getpidO, signal: 9) if – name. 1 main If it’s stupid but it works, it ain’t stupid Process (targetmain).start ) ProdrammerHumor.io