hey, I don't know if you have seen my other post or not, but I have been working on a small code lately to get the users credentials such as their password and username. As you can see, the code gives a warning and says there is a problem with getpass. After that, It asks for a password. i typed in testpassword which is not my password but it still thought it was. I do not want it to ask me for a password. I want it to simply give me the logged-in users password.
>>> import getpass >>> f = getpass.getpass() Warning: Problem with getpass. Passwords may be echoed. Password: testpassword >>> print f testpassword >>>