Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

import one file into another python

import os

os.chdir("**Put here the directory where you have the file with your function**")

from file import function

os.chdir("**Put here the directory where you were working**")
 
PREVIOUS NEXT
Tagged: #import #file #python
ADD COMMENT
Topic
Name
4+5 =