xxxxxxxxxx
# View names of all variables currently in memory
# might need to run twice because the loop may add a varaible to memory
for name in vars().keys():
print(name)
xxxxxxxxxx
for x in vars().keys():
print(hex(id(name)))
# Is this what you were asking?