Password input in console/terminal

Chris Rebert clp at rebertia.com
Tue Dec 9 01:01:27 EST 2008


On Mon, Dec 8, 2008 at 9:53 PM, RP <nopsidy at gmail.com> wrote:
> Hello All,
>
> This is my first REAL post(question) to Python-List. I know I can take input
> from a user with raw_input()
> How do I take password input in console? Any Help would be Greatly
> Appreciated. Thank You. RP

You use the appropriately-named `getpass` module:
http://docs.python.org/library/getpass.html

Cheers,
Chris

-- 
Follow the path of the Iguana...
http://rebertia.com



More information about the Python-list mailing list