digit grouping while typing in Python tkinter entry

Solution for digit grouping while typing in Python tkinter entry
is Given Below:

I would like to know is there anyway to group the numbers while typing in tkinter Entry widget?

For example if user entered 10000 entry widget shows 10,000? Just like what happens in windows calculator!

I’ve already gotten the entry in a Stringvar but I can not do {:,}.format on that stringvar. I think even a variable Label would be great for displaying digits in a grouped way.