python call module from another directory code example
Example: import python module from another directory
import sys
# sys.path is a list of absolute path strings
sys.path.append('/path/to/application/app/folder')
import file
import sys
# sys.path is a list of absolute path strings
sys.path.append('/path/to/application/app/folder')
import file