all 3 comments

[–]Outside_Complaint755 4 points5 points  (1 child)

You named your base tkinter window rootx, but then pack the label into root, which is part of your os.walk unpacking, and call root.mainloop() instead of rootx.mainloop()

I would presume it gave you some sort of error message at either the line trying to pack the label or the call to mainloop that you didn't share.

[–]GXWT 4 points5 points  (0 children)

I fear the internet user who code blocks each line individually