Program modified

This commit is contained in:
F. Y. H. 2022-07-25 11:36:46 +02:00
parent 9356a49674
commit 8de91933c5
2 changed files with 8 additions and 3 deletions

View file

@ -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
@ -75,7 +78,6 @@ class Bidule(QWidget):
self.bouttons[l][c].setText(n[l][c])
'''
def ouvrirBidule():
app = QApplication.instance()
if not app:
@ -83,4 +85,5 @@ def ouvrirBidule():
objet = Bidule()
objet.show()
app.exec_()
ouvrirBidule()

View file

@ -32,3 +32,5 @@ def execution():# Exécuter une fois.
fen = Fenestre()
fen.show()
app.exec_()
execution()