password question on startup

Skip Montanaro skip at pobox.com
Sat Dec 1 13:34:24 CET 2001


    Andreas> I want that on the programm-start the user has to give user-id
    Andreas> and password.  The password should not be seen on the screen,
    Andreas> only e.g. stars.

The getpass.getpass routine will suppress echo altogether.  Not sure how
you'd get stars instead.

-- 
Skip Montanaro (skip at pobox.com - http://www.mojam.com/)




More information about the Python-list mailing list