Suppose I have two modules, x and y.
x:
import random a = [] a.append(random.randint(1,100)
y:
from importlib import reload