naming objects from string

Ben Finney bignose+hates-spam at benfinney.id.au
Thu Sep 21 02:35:20 EDT 2006


"manstey" <manstey at csu.edu.au> writes:

> If I have a string, how can I give that string name to a python
> object, such as a tuple.

The thing I'd like to know before answering this is: how will you be
using that name to refer to the object later?

-- 
 \     "If you ever catch on fire, try to avoid seeing yourself in the |
  `\        mirror, because I bet that's what REALLY throws you into a |
_o__)                                          panic."  -- Jack Handey |
Ben Finney




More information about the Python-list mailing list