]> granicus.if.org Git - python/commit
Another new utility: getpass() prompts for a password, with echo off.
authorGuido van Rossum <guido@python.org>
Thu, 9 Apr 1998 20:37:16 +0000 (20:37 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 9 Apr 1998 20:37:16 +0000 (20:37 +0000)
commitb5903ac9fb67fd7f32aa223c5ed158ad6bb5293a
tree1cdf34c198f9bf4570225ce5d016c14c045ffc11
parentf2da4ed48b2cda073d6e5ea867eaa65559a69aef
Another new utility: getpass() prompts for a password, with echo off.
Also contains getuser(), which returns the username (not prompting though).
These work on Unix and Windows!
Lib/getpass.py [new file with mode: 0644]