import python file from a different location 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