Trouble with change text in tk.Entry on validation
I want to create an entry field for a date. I want the user to be able to type the digits for the month, day, year and have the ‘/’ come up automatically. I thought I would be able to do this with validation and here’s my code:
Is there a way to pass arguments to a tkinter entry validation function?
I’m starting with python and I wanted to create a rock, paper, scissors game using tkinter.
So I created an entry to prompt the user for their name/username, and using some code I found I made so that the entry doesn’t allow to use spaces or to write a name longer than 12 characters.
I also made an advice label that tells the user when they encounter this limitations.