5 ms·
If you're paranoid about shoulder-surfing you can use getpass to hide your password as you type it in. >>> import getpass >>> password = getpass.getpas
by d503 14y ago
If you're paranoid about shoulder-surfing you can use getpass to hide your password as you type it in.
>>> import getpass
>>> password = getpass.getpass('Password: ')
http://docs.python.org/library/getpass.html http://docs.python.org/library/getpass.html
- grantismo 14y agoCommand line utility I wrote which uses getpass: http://dpaste.com/hold/756011/ http://dpaste.com/hold/756011/