To cut long rope short, I have many tkinter entries named idn1 to idn5,instead of repeating the same delete function for every entry I tried the following wich went well with vi