as you see image, each tabMenu has dotted line after tabMenu click how to remove this dotted line? bottom is source code thank you.
from tkinter import *
from tkinter import ttk
tabposition = ttk.Style()
tabposition.configure('TNotebook', sticky='w', tabposition='sw')
style = ttk.Style()
tabposition.configure("Tab", focuscolor=style.configure(".")["background"])
notebook = ttk.Notebook(root, width=1450, height=910)
notebook.pack(fill="y",expand=False)
notebook.place(x=526)
def newtab2():
frame0 = Frame(root)
notebook.add(frame0, text="First Input")
addSheet = Button(root, text="Enter", command=newtab2, borderwidth=1)
addSheet.place(x=10, y=159, width=41, height=41)

A few things to say:
When you want to add a frame to a
ttk.Notebook, use that as the master for the frame. In your code, it was givenrootNo need to use new
ttk.Style(). Instead, set the layout of the originalttk.Style()Given below is the corrected code. Note that the height of the
ttk.Notebookis changed by me. You can change it later on.