Created
November 17, 2016 01:27
-
-
Save jjlumagbas/40ac3e6cd568d81ebb83e9d5575004bc to your computer and use it in GitHub Desktop.
Hide user input in Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import getpass | |
age = getpass.getpass('Enter your age:') | |
print("Entered age is: " + age) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks!