python export variable code example
Example 1: how to reference variable in another file python
from vardata import verb_list, other_list
import random
print random.choice(verb_list)
Example 2: python export variable to file
# Overwrite file
config = open('config.py', 'w')
config.write(f"""
File has been overwrite
funny = "LOL"
""")