Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to import a module from a different directory in python

from folder import module

OR

import folder.module as module
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #import #module #directory #python
ADD COMMENT
Topic
Name
6+4 =