> kr = string.strip(os.popen('make kernelrelease').read()) If make is being executed, I presume that the python script has rw access to the location. How about x=os.system("make kernelrelease > my_report 2>&1 ") kr=open("my_report").read() Just a blind throw. Good luck sree