Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to access a variable from another py file in vs code

from vardata import verb_list, other_list
import random

print random.choice(verb_list) 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #access #variable #py #file #code
ADD COMMENT
Topic
Name
5+9 =