[Tutor] "Secure" Input?
Kalle Svensson
kalle@gnupung.net
Wed, 8 Aug 2001 23:14:22 +0200
Sez Curtis Larsen:
> Hey folks -
>
> This may have been covered before but does anyone have a suggestion as
> to how to set up a "secure" (raw?) input that doesn't echo characters
> back, or echos only stars? I'm looking for a genteel way to ask for a
> password (of course) so... what think?
Check out the standard module getpass.
http://python.org/doc/current/lib/module-getpass.html
Peace,
Kalle
--
[ kalle@gnupung.net ][ Thought control, brought to you by the WIPO! ]
[ http://gnupung.net/ ][ http://anti-dmca.org/ http://eurorights.org/ ]