password question on startup

Skip Montanaro skip at
Sat Dec 1 07:34:24 EST 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 -

More information about the Python-list mailing list