Advertisement
qberik

Untitled

Feb 14th, 2023
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. import sys
  2. from PyQt5.QtWidgets import QApplication, QWidget
  3.  
  4.  
  5. def main():
  6.  
  7. app = QApplication(sys.argv)
  8.  
  9. w = QWidget()
  10. w.resize(250, 150)
  11. w.move(300, 300)
  12. w.setWindowTitle('Simple')
  13. w.show()
  14.  
  15. sys.exit(app.exec_())
  16.  
  17.  
  18. if __name__ == '__main__':
  19. main()
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement