Пример #1
0
import sys
from PyQt5.QtWidgets import QApplication
from calculator import CalculatorWindow

if __name__ == "__main__":
    app = QApplication(sys.argv)
    calculator = CalculatorWindow()
    calculator.show()
    sys.exit(app.exec_())
Пример #2
0
import sys
from PyQt5.QtWidgets import QApplication
from calculator import CalculatorWindow

App = QApplication(sys.argv)

Calculator = CalculatorWindow()

sys.exit(App.exec_())
Пример #3
0
import sys
from PyQt5.QtWidgets import QApplication

from calculator import CalculatorWindow


if __name__ == "__main__":
    app = QApplication(sys.argv)
    window = CalculatorWindow()
    window.show()
    sys.exit(app.exec_())