getpass — Secure Password Prompt — PyMOTW 3
Many programs that interact with the user via the terminal need to ask the user for password values without showing what the user types on the screen. The getpass module provides a portable way to handle such password prompts securely.
This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.