i am trying to make a sign up and login systen and i would like the user to see '***********' when they enter their password instead of 'Password123', for example.
with open("UandP.txt", "a") as x:
x.write(input("Enter a username: "))
x.write(",")
x.write(input("Enter a password: ") + "\n")
i would like the input from 'input("Enter a password: ")
' to echo in the shell as '*
' but i cant use getpass()
as it doesn't work in the shell