import getpass username = input("username: ") password = getpass.getpass("password: ") print(username,password)