install getpass python windows 10 code example Example: getpass import getpass x = getpass.getpass("Enter Password")