text: from PyQt5 import QtWidgets
  from PyQt5.QtWidgets import QApplication, QMainWindow
  import sys
  
  def window():
      app = QApplication(sys.argv)
      win = QMainWindow()
      win.setGeometry(200,200,300,300)
      win.setWindowTitle("Test GUI")
  
      win.show()
  
      print('Check')
      sys.exit(app.exec_())
      
  
  window()
  