How to hide password entered by the user in Password verification. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to hide password entered by the user in Password verification.

Need to write a python (preferably) program to hide a password entered by the user when asked (either display by any special character or completely hide it)

3rd Aug 2019, 9:39 PM
Firoz Momin
Firoz Momin - avatar
2 Answers
+ 1
Check out getpass library, it does what you need https://docs.python.org/3.1/library/getpass.html
3rd Aug 2019, 9:52 PM
Steven M
Steven M - avatar
0
You need to use data protection
25th Oct 2019, 10:04 PM
Max Glisky
Max Glisky - avatar