There are situations in Python code when a function is used as an object rather then a function call. Handling arguments becomes a mild problem, that can easily be handled by wrapping the function object and its arguments. One common way is the use of a curry function or class. This snippet shows the use of a curry function in a short Tkinter GUI dialog demo. Here the function objects appear in a dictionary of dialogs and the button command associated with a specific dialog.