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