from subprocess import check_output
def get_pass(path):
return check_output("pass " + path, shell=True).splitlines()[0]