Advertisement
Guest User

newfile.py

a guest
Nov 20th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. #!/usr/bin/python3
  2. #-*- coding: utf-8 -*-
  3.  
  4. import os
  5. from PyQt5.QtWidgets import QApplication, QWidget
  6. from PyQt5.QtGui import QIcon
  7.  
  8. if __name__ == '__main__':
  9.     app = QApplication(sys.argv)
  10.    
  11.     w = QWidget()
  12.     w.resize(250,150)
  13.     w.move(300,300)
  14.     w.setWindowTitle('Simple')
  15.     w.show()
  16.    
  17.     sys.exit(app.exec_())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement