def select_all(event):
        "Select all of the contents in this Entry widget."
        event.widget.selection_range(0, tkinter.END)
        return 'break'
Select all of the contents in this Entry widget.
recipes/Python/577632_Directory_Pruner_1/recipe-577632.py