Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to import something in python

import <module to import>

# alternitvly if you are trying to import something from the same folder as your pyhon file
import .<file name>

# if you wanna import something from a certain module
from <module name> import <something>
 
PREVIOUS NEXT
Tagged: #import #python
ADD COMMENT
Topic
Name
4+4 =