def prompt_for_pw(filename):
    """Prompt the user for the password to access an input file."""
    print 'Please enter a password to decrypt {}.'.format(filename)
    print '(The password will not be shown. Press ^C to cancel).'

    try:
        return getpass.getpass('--> ')
    except __HOLE__:
        sys.stderr.write('Aborted by user.\n')
        sys.exit(2)
dataset/ETHPy150Open hellerbarde/stapler/staplelib/iohelper.py/prompt_for_pw