mirror of
https://github.com/kennethreitz-archive/pyinstaller.git
synced 2026-06-17 14:10:57 +00:00
03bcf72d90
git-svn-id: http://svn.pyinstaller.org/trunk@844 8dd32b29-ccff-0310-8a9a-9233e24343b1
19 lines
308 B
Python
19 lines
308 B
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
import sys
|
|
|
|
from PyQt4 import Qt
|
|
|
|
|
|
def main():
|
|
app = Qt.QApplication(sys.argv)
|
|
label = Qt.QLabel("Hello World from PyQt4", None)
|
|
label.setWindowTitle("Hello World from PyQt4")
|
|
label.show()
|
|
app.exec_()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|