Answers for "python make a new window"

1

python make a new window

from PyQt5.QtWidgets import QApplication, QWidget
import sys


class Window(QWidget):
    def __init__(self):
        super().__init__()





app = QApplication(sys.argv)
window = Window()
window.show()
sys.exit(app.exec_())
Posted by: Guest on March-12-2022

Python Answers by Framework

Browse Popular Code Answers by Language