Files
steamdeck-scripts/main.py
2022-11-18 23:59:12 -05:00

20 lines
406 B
Python
Executable File

#!/home/deck/.keiran-sds/bin/python3
import sys
from PyQt5.QtCore import *
from PyQt5.QtGui import *
from PyQt5.QtWidgets import *
def window():
app = QApplication(sys.argv)
w = QWidget()
b = QLabel(w)
b.setText("Hello World")
w.setGeometry(100,100,200,50)
b.move(50,20)
w.setWindowTitle('PyQt5')
w.show()
sys.exit(app.exec_())
if __name__ == '__main__':
window()