#Import os Library
import os
#initialize the HOME environment variable
env = {'HOME': '/home/testfolder'}
#print the controlling terminal of the process
print (os.get_exec_path(env))