Buildin Function Python Tutorial

f = open('test.py')        # open the file
exec f                     # execute the file