def setEntryText(entry, value):
 if (entry == None):
  return
 entry.delete(0, Tkinter.END)
 entry.insert(0, str(value))

def setEntryText ( entry , value ) : if ( entry == None ) : return entry . delete ( 0 , Tkinter . END ) entry . insert ( 0 , str ( value ) )
set the entry text .