import myfile myfile.myfunction #calls a specific function from within the file
os.system('python my_file.py')