Is there a way in Python to convert characters as they are being entered by the user to asterisks, like it can be seen on many websites?
For example, if an email use
while using getpass in python, nothing is indicated to show a password input.
this can be resolved by this simple solution:
just copy the ‘getpass_ak.py’ module provided in the link to python’s Lib folder.
https://starrernet.wixsite.com/analytix/python-coder
use the following code:
import getpass_ak
a = (getpass_ak.getpass('password: '))
this will add * to your password inputs.