I’m trying to run some code in which I need the getpass() function to accept a password confidentially. Currently, only input(“Enter the password”) is working. When I use getpass, it does say “Enter the password”, accepts an input which isn’t hidden, and you can’t enter/submit it. The code gets stuck at that point.
I DID try emulating the terminal output into the console. This didn’t work either.
Any ideas as to how to resolve this?
Since getpass() is an inbuilt python library, I expected it to work fine. I also tried using passwordbox() from the easygui library, same issue again.