Python tool to get a password from the user and display a masked value at the prompt.
pip install getpwd
>>> from getpwd import getpwd
>>> secret = getpwd()
Password: ********
>>> print(secret)
mysecret
>>> from getpwd import getpwd
>>> secret = getpwd("Please insert your password: ")
Please insert your password: ********
>>> print(secret)
mysecret
If you would like to make any comments then please feel free to email me at [email protected]