from sys import argv from sys import exit as ex from PyQt5.QtWidgets import QMainWindow, QApplication from src.gui import menu, home """ https://peps.python.org/pep-0008/ 'python a = lambda a, b: truc' = 'js a = (a, b) => {truc}' = Fonction anonyme """ class mainWindow(QMainWindow): VERSION = 0.1 def __init__(self): super(mainWindow, self).__init__() menu.init_menu(self) home.home_page(self) if __name__ == "__main__": def main(): """Démarrage de l'app """ app = QApplication(argv) GUI = mainWindow() GUI.show() ex(app.exec_()) main()