Skip to content

Instantly share code, notes, and snippets.

Created May 20, 2016 19:26
Show Gist options
  • Save anonymous/4f040b6968868889c4df6e548d868ee6 to your computer and use it in GitHub Desktop.
Save anonymous/4f040b6968868889c4df6e548d868ee6 to your computer and use it in GitHub Desktop.
import sys
from PyQt5 import QtWidgets
def window():
app = QtWidgets.QApplication(sys.argv)
w = QtWidgets.QWidget()
w.setWindowTitle('PYQt5 lesson 1')
w.show()
sys.exit(app.exec_())
window()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment