1

I have a zipped file with multiple text files in it, and I am building a GUI where I would display the content of the zipped file. So far with the code below it only shows the example.zip folder, but not what's inside. How can I get it to show the text files?

    import tkinter.tix
    root = tkinter.tix.Tk()

   fs=tkinter.tix.ExFileSelectBox(root,directory=r"C:\Users\lestivi\Downloads\example.zip")
   fs.pack()

   root.mainloop()
LeStivi
  • 31
  • 5

0 Answers0