I have this method below:
def viewTable(self):
toplevel = Toplevel()
toplevel.title('Table')
Label (toplevel, text='Course').pack(side=TOP,padx=10,pady=10)
I also have a dictionary with {course: "hoursUsed hoursAllowed Comment"}
and I want to print this dictionary in a formatted table in the toplevel window, like with column headers and proper spacing. How do I go about this? Thanks.
Gave this more thought and I am looking into grid instead of pack.
For those wondering: I switched all my .pack() to .grid(). It was a lot of work, but I really needed the formatting and grid works so well for that.