how to Destroy and Reload notebook tab

  jupyter-notebook, python, python-3.x, tkinter

Can anyone help me out delete one notebook tab and then reload it.

I have this that destroy the tab but cant seem to reload it after.

Why is it not reloading?

from formularios import tabControlmain
for item in tabControlmain.winfo_children():
    if str(item) == (
        item.destroy() # this destroys tabmain1

tabmain1 = ttk.Frame(tabControlmain)# creates tabmain1
tabControlmain.add(tabmain1, text='Testing Tool')
tabControlmain.pack(expand=True, fill="both")
makeformtestcond()# this runs the function that populate the tabmain1

Source: Python Questions