ipykernel icon indicating copy to clipboard operation
ipykernel copied to clipboard

'_tkinter.tkapp' object has no attribute 'delete'

Open Fevi-github-thesis opened this issue 4 years ago • 0 comments

def show(root):

    root.tk = ScrolledText(root)
    root.tk.pack(fill=X, padx=(200, 30), expand=True)
    root.tk.place(width=400,height=250,x=70, y=70)
   
    kg = root.tk 
    kg.delete('1.0', END)

    for line in lines:
       kg.insert(INSERT,line)
       print(line)

Fevi-github-thesis avatar May 13 '21 07:05 Fevi-github-thesis