om tkinter import *
class NewWindow:
def __init__(self, size, name):
self = Tk()
self.geometry(self.size)
self.title(name)
def Show(self):
self.mainloop()
from pyqt_work import NewWindow
window = NewWindow('600x800', 'ааааааааааа')
window.Show()