use python file in another file code example
Example 1: python include another python file
#import all from myfile.py (in same directory)
from myfile import *
Example 2: python include function from another file
from filename_without_py_extension import *
functionFromIncludedFile()