Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python add current directory to import path

import os
import sys
sys.path.append(os.getcwd())
import foo
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #add #current #directory #import #path
ADD COMMENT
Topic
Name
4+7 =