The getpass module provides a simple way to retrieve a password from the user by specifying a number of different password sources. A simple command-line tool using this function to provide a generic ...