import tkinter as tk

class Window(tk.Tk):
    def __init__(self):
        super().__init__()
        self.title("Hello Tkinter")

        label = tk.Label(self, text="Hello World!")
        label.pack(fill=tk.BOTH, expand=1, padx=100, pady=50)


if __name__ == "__main__":
    window = Window()
    window.mainloop()
        

0edf975f3382ef263c2de64c5398323b2ed4c5a4
<mask token>


class Window(tk.Tk):
    <mask token>


<mask token>

<mask token>


class Window(tk.Tk):

    def __init__(self):
        super().__init__()
        self.title('Hello Tkinter')
        label = tk.Label(self, text='Hello World!')
        label.pack(fill=tk.BOTH, expand=1, padx=100, pady=50)


<mask token>

<mask token>


class Window(tk.Tk):

    def __init__(self):
        super().__init__()
        self.title('Hello Tkinter')
        label = tk.Label(self, text='Hello World!')
        label.pack(fill=tk.BOTH, expand=1, padx=100, pady=50)


if __name__ == '__main__':
    window = Window()
    window.mainloop()

import tkinter as tk


class Window(tk.Tk):

    def __init__(self):
        super().__init__()
        self.title('Hello Tkinter')
        label = tk.Label(self, text='Hello World!')
        label.pack(fill=tk.BOTH, expand=1, padx=100, pady=50)


if __name__ == '__main__':
    window = Window()
    window.mainloop()

import tkinter as tk

class Window(tk.Tk):
    def __init__(self):
        super().__init__()
        self.title("Hello Tkinter")

        label = tk.Label(self, text="Hello World!")
        label.pack(fill=tk.BOTH, expand=1, padx=100, pady=50)


if __name__ == "__main__":
    window = Window()
    window.mainloop()
        
