how to specify location of python file to import from another folder code example
Example 1: how to import file from a different location python
import sys
sys.path.append('temp/temp/temp/temp/temp')
Example 2: how to import file from a different location python
import temp