Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to import a variable from another python file

from file1 import x1
print(x1)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #import #variable #python #file
ADD COMMENT
Topic
Name
5+2 =