diff --git a/PyQt/bidule.py b/PyQt/bidule.py index 7983bbc..392513d 100644 --- a/PyQt/bidule.py +++ b/PyQt/bidule.py @@ -5,6 +5,9 @@ Created on Thu Jul 6 14:02:21 2017 @author: fh """ +########## +# BROKEN # +########## import numpy as np import sys from PyQt5.QtWidgets import QApplication, QWidget, QPushButton, QVBoxLayout, QGridLayout, QLabel, QLineEdit, QCheckBox, QGroupBox @@ -74,7 +77,6 @@ class Bidule(QWidget): else: self.bouttons[l][c].setText(n[l][c]) ''' - def ouvrirBidule(): app = QApplication.instance() @@ -83,4 +85,5 @@ def ouvrirBidule(): objet = Bidule() objet.show() app.exec_() -ouvrirBidule() \ No newline at end of file + +ouvrirBidule() diff --git a/PyQt/core.py b/PyQt/core.py index 813bf58..b7259b9 100644 --- a/PyQt/core.py +++ b/PyQt/core.py @@ -31,4 +31,6 @@ def execution():# Exécuter une fois. app = QApplication(sys.argv) fen = Fenestre() fen.show() - app.exec_() \ No newline at end of file + app.exec_() + +execution()