파이썬 #별찍기1 파이썬(QT) 별찍기 예제 import sys from PyQt5 import(uic) from PyQt5.QtWidgets import QApplication, QMainWindow from random import random from sympy.printing import str form_class = uic.loadUiType("myqt07.ui")[0] class WindowClass(QMainWindow, form_class): def __init__(self): super().__init__() self.setupUi(self) self.pb.clicked.connect(self.myclick) def myclick(self): f = self.le_first.text() l = self.le_last.text() f.. 2023. 6. 29. 이전 1 다음