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