Vote count:
0
Look, no one has been answering my question properly and are duplicating this question
I want to mask my keyboard input with a character such as an asterisk,
I have this so far,
import getpass
pswd = getpass.getpass('Password:')
I can hide the password input, but I am not able to display a character for each individual letter
I tried using msvcrt module, but an error saying no module name 'msvcrt' keeps popping pop, probably because i have Python version 3 and above. I also don't want to use tKinter either.
If anyone can help, it would be huge, as it is for my computer science coursework and please don't duplicate, as i have searched many pages
asked 45 secs ago
Masking keyboard input with a character - Python version 3.0
Aucun commentaire:
Enregistrer un commentaire