How to convert a list of strings into a list of variables

David Robinow drobinow at gmail.com
Thu Aug 18 11:12:37 EDT 2011


On Thu, Aug 18, 2011 at 10:57 AM, noydb <jenn.duerr at gmail.com> wrote:
> How would you convert a list of strings into a list of variables using
> the same name of the strings?
>
> So, ["red", "one", "maple"] into [red, one, maple]
  Why would you want to?



More information about the Python-list mailing list