I get this for the print(event). Event can be spelled any way, it was event in the example but that was confusing because it has nothing to do with event in the print. I used snow in both places with the same result. Where does it come from?
tells tkinter to call the function get_entry when the Return key is pressed.
When tkinter calls that function, it passes information to the function about why it was called. That’s the event parameter. Sometimes that information is useful, but many times it’s not.
The warning is to tell you that you haven’t done anything with the parameter. That might be because you’ve made a mistake, but sometimes you just don’t care about that parameter. It doesn’t know whether it’s intentional.
Finally, you want to pass the function get_entry to bind. If you wrote get_entry(), you’d be call it and then passing the returned result to bind. What does it return? It returns None, so that’s what you’d be passing to bind.