was trying to implement a feature in a project i was doing where you enter text into an entry box and then it would times the amount of charaters in the entry by 0.02. i wanted to make it so there is a label and it would update automaticly as the user typed in the entry box but i cant seem to get it working
window = Tk()
window.geometry("600x500")
message_label = Label(window, text= "enter message").pack()
message_entry = Entry(window)
message_entry.pack()
message_length = (len(message_entry.get()))
message_price = message_length * 0.02
msg_price = Label(window)
msg_price.pack()
msg_price.config(text=message_price)
(i know this could be done easily with a button but im not trying to do this with a button)