(An Unofficial) Python FAQ Wiki

putting the community back in "maintained by the community"

67wd

How do I dynamically name my objects? How do I name my objects based on user input?

Rather than performing voodoo by dynamically creating variables, your best bet is to use a dictionary with the keys being the name of the object or user input.