DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+2 =
Submit