Add PyQt5 (#1256)
* Create PyQt5.py * Update readme.md * increment language count * Update PyQt5.py
This commit is contained in:
11
p/PyQt5.py
Normal file
11
p/PyQt5.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import sys
|
||||
from PyQt5.QtWidgets import QApplication, QWidget, QLabel
|
||||
|
||||
app = QApplication(sys.argv)
|
||||
widget = QWidget()
|
||||
|
||||
helloWorld = QLabel(widget)
|
||||
helloWorld.setText("Hello World")
|
||||
|
||||
widget.show()
|
||||
sys.exit(app.exec_())
|
||||
Reference in New Issue
Block a user