in reply to how to accept password using Tk

I'm not sure this is exactly what you want, but there is a related question in the FAQ: How do I hide a password Entry?