from tkinter import *

# create the root window
root = Tk()
root.title("learn python with tkinter")
root.iconbitmap('E:/Programming Projects/python/tinker/img/spider.ico')

# create a label insde root window
mLabel = Label(root, text="hello world")
# adding label to the screen
mLabel.pack()

# keep the programme running intel the user close the app
root.mainloop()

d3330174570aabf47e898f1f45c23a7c2b00137f
<mask token>

<mask token>
root.title('learn python with tkinter')
root.iconbitmap('E:/Programming Projects/python/tinker/img/spider.ico')
<mask token>
mLabel.pack()
root.mainloop()

<mask token>
root = Tk()
root.title('learn python with tkinter')
root.iconbitmap('E:/Programming Projects/python/tinker/img/spider.ico')
mLabel = Label(root, text='hello world')
mLabel.pack()
root.mainloop()

from tkinter import *
root = Tk()
root.title('learn python with tkinter')
root.iconbitmap('E:/Programming Projects/python/tinker/img/spider.ico')
mLabel = Label(root, text='hello world')
mLabel.pack()
root.mainloop()

from tkinter import *

# create the root window
root = Tk()
root.title("learn python with tkinter")
root.iconbitmap('E:/Programming Projects/python/tinker/img/spider.ico')

# create a label insde root window
mLabel = Label(root, text="hello world")
# adding label to the screen
mLabel.pack()

# keep the programme running intel the user close the app
root.mainloop()
