I would like to be able to get the name of a variable as a string but I don\'t know if Python has that much introspection capabilities. Something like:
>&
I wrote the package sorcery to do this kind of magic robustly. You can write:
from sorcery import dict_of my_dict = dict_of(foo, bar)