Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

import class from another file python

from <file that has the class in> import <the class name you want to import>

# Or do this if you want to import everything inside one file
from <file that has the class in> import *
 
PREVIOUS NEXT
Tagged: #import #class #file #python
ADD COMMENT
Topic
Name
4+2 =