importing .py file in another python file in python 2.7 code example
Example: python include another python file
#import all from myfile.py (in same directory)
from myfile import *
#import all from myfile.py (in same directory)
from myfile import *