Skip to content

Instantly share code, notes, and snippets.

@shirou
Created September 27, 2010 07:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shirou/598738 to your computer and use it in GitHub Desktop.
Save shirou/598738 to your computer and use it in GitHub Desktop.
Enter the password using getpass
import getpass
print("enter password for %s" % args.file)
password = getpass.getpass()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment