I'm new in Python and I'm using tkinter to test and learn a few things. I have seen people using root = tk and window = tk so, I was just wondering which one is the best to use, because those two work almost the same. thank you in advice and sorry for my English import tkinter as tk from tkinter import filedialog, messagebox root = tk.Tk() root.title('la papu app 2') root.iconbitmap(default="icon.ico") text = tk.Text(root, wrap='word', undo=True) text.pack(expand='yes', fill='both') menu_bar = tk.Menu(root) root.config(menu=menu_bar) ///Rest of the code/// root.mainloop() Continue reading...