guys, im after a piece of code that when embedded into a button, clears the text entry boxes of the GUI so new information may be added. Like adding a new customer after you press save.
At the moment you press save but the information stays there


Maybe you are looking for this ...

def del_text():
    delete text in enter1 from index first to index last
    if index last is omitted delete just one character at index first
    entry1.delete(first, last=None)
    enter1.delete(0, END)  # del all text