how to use code from another file python code example
Example 1: run py file in another py file
os.system('python my_file.py')
Example 2: how to import functions from another python file
from file_name import function_name #do not include brackets or file types