Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python import from parent directory in a python terminal

exec(open(<filename.py>).read())
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #import #parent #directory #python #terminal
ADD COMMENT
Topic
Name
8+2 =