1 2 3 4 5 6 7
#! /usr/bin/env python2 from subprocess import check_output def get_password(account): return check_output("pass " + account, shell=True).splitlines()[0]