Oct-13-2023, 05:25 PM
I changed the last button lines to:
btn4 = tk.Button(root, text='Copy')
btn4['command'] = copy
btn4.pack(side='left', fill='x', padx=8, pady=8)
but it still did not work.
btn4 = tk.Button(root, text='Copy')
btn4['command'] = copy
btn4.pack(side='left', fill='x', padx=8, pady=8)
but it still did not work.