Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

import module python same directory

# in teste.py we have a list words_list = ["zombie", "baboon"]
from teste import words_list 
#or
from teste import *

print(words_list)
 
PREVIOUS NEXT
Tagged: #import #module #python #directory
ADD COMMENT
Topic
Name
3+4 =