You know how in Linux when you try some Sudo stuff it tells you to enter the password and, as you type, nothing is shown in the terminal window (the password is not shown)?
Is there a way to do that in Python? I'm working on a script that requires so sensitive info and would like for it to be hidden when I'm typing it.
In other words, I want to get the password from the user without showing the password.
Use getpass for this purpose.
This works on Linux, Windows, and Mac.
Use this to re-ask for the password if inserted pass is not the world
hello
:this code will print astrix instead of every letter