Read password from stdin [duplicate] October 21, 2022 by Tarik >>> import getpass >>> pw = getpass.getpass()