python getpass change password example Example: getpass import getpass x = getpass.getpass("Enter Password")