I am trying to create a calculator that takes in the row and column number in an excel file and calculates either the sum or difference for the two cells. I am trying to use Tkinter in python to develop the GUI. But I am facing an issue, i.e., the label.pack()
doesn't display anything on my root window. I'm sharing my code below, please let me know what I am doing wrong.
import tkinter as tk
from tkinter import ttk
def main():
print('Hello World!')
root = tk.Tk()
root.geometry('500x500')
root.title('Celly_Cally')
rowLabel = tk.Label(root, text="Row")
rowLabel.pack(side = LEFT)
root.mainloop()
if __name__ == "__main__":
main()