root = Tk()
root.title("что то")
root.geometry("750x600")
root['bg'] = '#DDA0DD'
msg = Message()
message = StringVar()
message_entry = Entry(textvariable=message)
message_entry.place(x=163, y=12, anchor="c")
def spysok():
a = msg.pack()
prods = []
prods.append(a)
prods_listbox = Listbox()
for prod in prods:
prods_listbox.insert(END, prod)
prods_listbox.pack()
btn1 = Button(text="что то", background="#1E90FF", foreground="#ccc", padx="1", pady="1", font="1", command=spysok)
btn1.place(x=5, y=125)
root.mainloop()