Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

importing a python file from another folder

import sys
# sys.path is a list of absolute path strings
sys.path.append('/path/to/application/app/folder')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #importing #python #file #folder
ADD COMMENT
Topic
Name
9+7 =