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
first install these two library
pip install getpass
pip install stdiomask
note that you install std io mask not studiomask .....
and then the code is
password = stdiomask.getpass() # It will ask to enter password and display * on the screen
print(password)
This is the solution output:
Password: *****
google