18 lines
328 B
Python
18 lines
328 B
Python
#import tkinter as tk
|
|
import sys
|
|
import os
|
|
from PyQt5.QtWidgets import QApplication, QWidget
|
|
|
|
def main():
|
|
app = QApplication(sys.argv)
|
|
|
|
w = QWidget()
|
|
w.resize(250, 150)
|
|
w.move(300, 300)
|
|
w.setWindowTitle('Simple')
|
|
w.show()
|
|
|
|
sys.exit(app.exec_())
|
|
|
|
if __name__ == '__main__':
|
|
main() |